aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-01-25 23:28:29 +0100
committerSebastian Pipping <sping@gentoo.org>2020-01-25 23:41:54 +0100
commitf2443f9dcb21c7a1e1095df21a90e85a386453e1 (patch)
tree50f4031296c133b9523f9229d705b060110ca096
parentSupport "python -m metagen" (diff)
downloadmetagen-f2443f9dcb21c7a1e1095df21a90e85a386453e1.tar.gz
metagen-f2443f9dcb21c7a1e1095df21a90e85a386453e1.tar.bz2
metagen-f2443f9dcb21c7a1e1095df21a90e85a386453e1.zip
setup.py: Generate entrypoint script
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rwxr-xr-xsetup.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index ff39677..838c27a 100755
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,12 @@ def main():
packages = packages,
data_files = data_files,
package_data = package_data,
+
+ entry_points = {
+ 'console_scripts': [
+ "metagen = metagen.__main__:main",
+ ],
+ }
)