aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:06:54 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:06:54 +0200
commit408514657d8c17ae4d70871ebb46495acdb625b8 (patch)
treed7a92bb0339d9b7dcee4a73c6c6303731150814e
parentcommit: enable -e usage with -M or -m (diff)
downloadpkgdev-408514657d8c17ae4d70871ebb46495acdb625b8.tar.gz
pkgdev-408514657d8c17ae4d70871ebb46495acdb625b8.tar.bz2
pkgdev-408514657d8c17ae4d70871ebb46495acdb625b8.zip
add __main__.py file
I'm adding this file, so you can call pkgdev using `python -m pkgdev`. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgdev/__main__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkgdev/__main__.py b/src/pkgdev/__main__.py
new file mode 100644
index 0000000..dfafa04
--- /dev/null
+++ b/src/pkgdev/__main__.py
@@ -0,0 +1,4 @@
+from .scripts import run
+
+if __name__ == '__main__':
+ run('pkgdev')