From 0224fcdf8ebabe0ba7a06ecc7cec87e447276d81 Mon Sep 17 00:00:00 2001 From: zooko Date: Wed, 12 Sep 2007 23:49:02 +0530 Subject: [PATCH] zfec: attempt to invoke "darcsver" when setup.py is invoked darcs-hash:8067a1578cc0650b37f1d1cca64deb091f6d858a --- zfec/setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zfec/setup.py b/zfec/setup.py index fb7e5c4..96234cd 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -76,6 +76,12 @@ trove_classifiers=[ "Topic :: System :: Archiving", ] +try: + import os + os.system("darcsver") +except Exception, le: + print "le: %s" % (le,) + pass import re VERSIONFILE = "zfec/_version.py" verstr = "unknown" -- 2.45.2