aboutsummaryrefslogtreecommitdiffstats
path: root/testing/poetry/poetry.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/poetry/poetry.py')
-rw-r--r--testing/poetry/poetry.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/poetry/poetry.py b/testing/poetry/poetry.py
new file mode 100644
index 0000000000..5e866e29af
--- /dev/null
+++ b/testing/poetry/poetry.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+import sys
+
+POETRY_DIR = '/usr/lib/poetry'
+sys.path.insert(0, POETRY_DIR)
+
+if __name__ == '__main__':
+ from poetry.console import main
+ sys.exit(main())
+