summaryrefslogtreecommitdiffstats
path: root/deb_materialization.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:54:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:58:39 +0000
commit129a1fb4dbc375be0fa926964aa1be46a0cdbbef (patch)
tree04c0088df47415b24a5be1325d3656b8c3881c04 /deb_materialization.py
parentInitial commit. (diff)
downloaddebputy-129a1fb4dbc375be0fa926964aa1be46a0cdbbef.tar.xz
debputy-129a1fb4dbc375be0fa926964aa1be46a0cdbbef.zip
Adding upstream version 0.1.21.upstream/0.1.21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'deb_materialization.py')
-rwxr-xr-xdeb_materialization.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/deb_materialization.py b/deb_materialization.py
new file mode 100755
index 0000000..3572581
--- /dev/null
+++ b/deb_materialization.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_materialization import main
+ main()