summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-22 20:20:55 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-22 20:20:55 +0100
commitdba80fc6b1bb026637a85eea31cfcc5ab4a3344c (patch)
tree72a1d68df128a9e789e34b8ef99b94a06034bbe2
parent52202025ff97fb9a6eb2570f7528a791c77e632a (diff)
downloadgemato-dba80fc6b1bb026637a85eea31cfcc5ab4a3344c.tar.gz
Add a __main__ module to call the package conveniently
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--gemato/__main__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gemato/__main__.py b/gemato/__main__.py
new file mode 100644
index 0000000..0697bc1
--- /dev/null
+++ b/gemato/__main__.py
@@ -0,0 +1,9 @@
+# gemato: __main__ wrapper
+# (c) 2023 Michał Górny
+# Licensed under the terms of 2-clause BSD license
+
+from gemato.cli import setuptools_main
+
+
+if __name__ == '__main__':
+ setuptools_main()