]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: attempt to invoke make-version.py whenever setup.py is evaluated
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 24 Sep 2007 01:43:36 +0000 (18:43 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 24 Sep 2007 01:43:36 +0000 (18:43 -0700)
setup.py

index 09110879b0ccb8d1d372c1b18a04e57444793263..33b52c2349f00d8555d8d97a4618305418e0e692 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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):