mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
setup.py: remove -dirty version marking
This commit is contained in:
parent
b7852b1d01
commit
af0b14bf58
4
setup.py
4
setup.py
@ -12,10 +12,6 @@ except Exception as e:
|
||||
print('ERROR: Failed to get version from "git describe --tags": %s: %s' % (type(e).__name__, e))
|
||||
from __init__ import __version__ as fallback_version
|
||||
|
||||
# Mark builds with unretrievable version (GitHub tarballs, etc.) as -dirty
|
||||
if not fallback_version.endswith('-dirty'):
|
||||
fallback_version += '-dirty'
|
||||
|
||||
print('Using fallback version of %r.' % fallback_version)
|
||||
version = fallback_version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user