Skip to content

Commit

Permalink
Merge pull request #88 from mathdeziel/fix_pep_440_compliance
Browse files Browse the repository at this point in the history
Fix setuptools error due to non-compliant version number
  • Loading branch information
execveat authored Mar 28, 2023
2 parents 44073fe + 8b7c140 commit 9c96a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def version():
version = "unknown"
if os.path.isdir(".git"):
version = os.popen('git describe --tags --dirty').read().strip()[1:]
version = os.popen('git describe --tags --dirty --abbrev=0').read().strip()[1:]
else:
m = re.search('-([-_0-9a-f.]+?)$', os.getcwd())
if m:
Expand Down

0 comments on commit 9c96a77

Please sign in to comment.