summaryrefslogtreecommitdiffstats
path: root/deb_packer.py
diff options
context:
space:
mode:
Diffstat (limited to 'deb_packer.py')
-rwxr-xr-xdeb_packer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/deb_packer.py b/deb_packer.py
new file mode 100755
index 0000000..4b3410f
--- /dev/null
+++ b/deb_packer.py
@@ -0,0 +1,11 @@
+#!/usr/bin/python3 -B
+import pathlib
+import sys
+
+DEBPUTY_ROOT_DIR = pathlib.Path(__file__).parent # TODO: Subst during install
+
+if __name__ == '__main__':
+ # setup PYTHONPATH: add our installation directory.
+ sys.path.insert(0, str(DEBPUTY_ROOT_DIR))
+ from debputy.commands.deb_packer import main
+ main()