From b9bba34110e43663b13181bc4bef14133fc2cdcf Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Wed, 22 Jan 2020 22:39:40 -0800 Subject: add entrypoints, relocate entrypoint in script --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index a284405..b92079c 100644 --- a/setup.py +++ b/setup.py @@ -8,13 +8,13 @@ with open('VERSION', 'r') as version_file: setup(name='gitsnap', version=version, - description='distributed observability of systemd', + description='stupid bundler for bare repos', long_description=" ".join(""" simple tools for snapshotting git repos """.split()), author='Max Resnick', author_email='max@ofmax.li', - url='http://git.ofmax.li/gitsnap.git/', + url='https://git.ofmax.li/git-snapshot/', license="MIT", py_modules=['gitsnap'], packages=[], @@ -23,6 +23,10 @@ setup(name='gitsnap', 'boto3' ], keywords='', + entry_points=''' + [console_scripts] + gitsnap=gitsnap.snap:run + ''', classifiers=[ 'Development Status :: 3 - Alpha', 'Natural Language :: English', -- cgit v1.2.3