diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | setup.py | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Version 0.9.1 + + * Fix the setup.py script + Version 0.9 * Implement argparse libray for parsing argument on CLI @@ -4,12 +4,12 @@ from setuptools import setup from setuptools import find_packages -import gitlab - def get_version(): - - return gitlab.__version__ + with open('gitlab/__init__.py') as f: + for line in f: + if line.startswith('__version__'): + return eval(line.split('=')[-1]) setup(name='python-gitlab', |