diff options
author | 2020-01-25 23:28:29 +0100 | |
---|---|---|
committer | 2020-01-25 23:41:54 +0100 | |
commit | f2443f9dcb21c7a1e1095df21a90e85a386453e1 (patch) | |
tree | 50f4031296c133b9523f9229d705b060110ca096 | |
parent | Support "python -m metagen" (diff) | |
download | metagen-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-x | setup.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -63,6 +63,12 @@ def main(): packages = packages, data_files = data_files, package_data = package_data, + + entry_points = { + 'console_scripts': [ + "metagen = metagen.__main__:main", + ], + } ) |