From: zooko Date: Wed, 12 Sep 2007 18:19:02 +0000 (+0530) Subject: zfec: attempt to invoke "darcsver" when setup.py is invoked X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/about.html?a=commitdiff_plain;h=0224fcdf8ebabe0ba7a06ecc7cec87e447276d81;p=tahoe-lafs%2Fzfec.git zfec: attempt to invoke "darcsver" when setup.py is invoked darcs-hash:8067a1578cc0650b37f1d1cca64deb091f6d858a --- 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"