From: Zooko O'Whielacronx Date: Mon, 24 Sep 2007 01:43:36 +0000 (-0700) Subject: setup: attempt to invoke make-version.py whenever setup.py is evaluated X-Git-Tag: allmydata-tahoe-0.6.0~11 X-Git-Url: https://git.rkrishnan.org/nxhtml.html?a=commitdiff_plain;h=2ff4f30e64e15666b10d4eacc5ff6d1cae2c8060;p=tahoe-lafs%2Ftahoe-lafs.git setup: attempt to invoke make-version.py whenever setup.py is evaluated --- diff --git a/setup.py b/setup.py index 09110879..33b52c23 100644 --- 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):