3
0
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:
James Lu 2016-07-13 19:04:51 -07:00
parent b7852b1d01
commit af0b14bf58

View File

@ -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