summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2015-05-13 18:28:38 +0200
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2015-05-13 18:41:23 +0200
commitd7bea076257febf36cc6de50d170bc61f3c6a49a (patch)
treef9d6d9b73e655a03c9aec7ae9966c0370f6892be /setup.py
parent4c6c7785ba17d053548181fc2eafbe3356ea33f5 (diff)
downloadgitlab-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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 141f111..4a40649 100644
--- a/setup.py
+++ b/setup.py
@@ -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',