setup: attempt to invoke make-version.py whenever setup.py is evaluated

This commit is contained in:
Zooko O'Whielacronx 2007-09-23 18:43:36 -07:00
parent c77ac28685
commit 2ff4f30e64

View File

@ -65,6 +65,11 @@ trove_classifiers=[
]
try:
import os
os.system("python misc/make-version.py \"allmydata-tahoe\" \"src/allmydata/_version.py\"")
except Exception, le:
pass
VERSIONFILE = "src/allmydata/_version.py"
verstr = "unknown"
if os.path.exists(VERSIONFILE):