We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12abf1 commit 9966616Copy full SHA for 9966616
ChangeLog
@@ -1,3 +1,7 @@
1
+Version 0.9.1
2
+
3
+ * Fix the setup.py script
4
5
Version 0.9
6
7
* Implement argparse libray for parsing argument on CLI
setup.py
@@ -4,12 +4,12 @@
from setuptools import setup
from setuptools import find_packages
-import gitlab
8
-
9
10
def get_version():
11
12
- return gitlab.__version__
+ with open('gitlab/__init__.py') as f:
+ for line in f:
+ if line.startswith('__version__'):
+ return eval(line.split('=')[-1])
13
14
15
setup(name='python-gitlab',
0 commit comments