We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7364556 commit 70236cbCopy full SHA for 70236cb
setup.py
@@ -39,7 +39,7 @@ def gitinfo():
39
glog = proc.stdout.read()
40
rv = {}
41
rv['commit'], rv['timestamp'], rv['date'] = glog.strip().split(None, 2)
42
- version = check_output(['git', 'tag']).decode('ascii').strip()
+ version = '.post'.join(desc.strip().split('-')[:2]).lstrip('vV')
43
rv['version'] = version
44
return rv
45
0 commit comments