diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-05-13 18:28:38 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-05-13 18:41:23 +0200 |
commit | d7bea076257febf36cc6de50d170bc61f3c6a49a (patch) | |
tree | f9d6d9b73e655a03c9aec7ae9966c0370f6892be /setup.py | |
parent | 4c6c7785ba17d053548181fc2eafbe3356ea33f5 (diff) | |
download | gitlab-d7bea076257febf36cc6de50d170bc61f3c6a49a.tar.gz |
Move the CLI in the gitlab package
Setup an console_script entry point to create the executable script.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,8 +20,12 @@ setup(name='python-gitlab', license='LGPLv3', url='https://github.com/gpocentek/python-gitlab', packages=['gitlab'], - scripts=['bin/gitlab'], install_requires=['requests', 'six'], + entry_points={ + 'console_scripts': [ + 'gitlab = gitlab.cli:main' + ] + }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', |