From 2ff4f30e64e15666b10d4eacc5ff6d1cae2c8060 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Sun, 23 Sep 2007 18:43:36 -0700 Subject: [PATCH] setup: attempt to invoke make-version.py whenever setup.py is evaluated --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) 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): -- 2.45.2