setup: fix commit 5198d99b.
This commit is contained in:
parent
07b3510218
commit
045f5e19a2
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|||
|
||||
def scm_version():
|
||||
def local_scheme(version):
|
||||
if version.tag:
|
||||
if version.tag and not version.distance:
|
||||
return version.format_with("")
|
||||
else:
|
||||
return version.format_choice("+{node}", "+{node}.dirty")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue