Skip to content

Commit 9c96a77

Browse files
author
Andrew Konstantinov
authored
Merge pull request #88 from mathdeziel/fix_pep_440_compliance
Fix setuptools error due to non-compliant version number
2 parents 44073fe + 8b7c140 commit 9c96a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
def version():
88
version = "unknown"
99
if os.path.isdir(".git"):
10-
version = os.popen('git describe --tags --dirty').read().strip()[1:]
10+
version = os.popen('git describe --tags --dirty --abbrev=0').read().strip()[1:]
1111
else:
1212
m = re.search('-([-_0-9a-f.]+?)$', os.getcwd())
1313
if m:

0 commit comments

Comments
 (0)