]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/commitdiff
zfec: attempt to invoke "darcsver" when setup.py is invoked
authorzooko <zooko@zooko.com>
Wed, 12 Sep 2007 18:19:02 +0000 (23:49 +0530)
committerzooko <zooko@zooko.com>
Wed, 12 Sep 2007 18:19:02 +0000 (23:49 +0530)
darcs-hash:8067a1578cc0650b37f1d1cca64deb091f6d858a

zfec/setup.py

index fb7e5c461f7cf33bc4d3cdd1e4c7369d95830da0..96234cd99ea7075fefa66711631b300387df872d 100755 (executable)
@@ -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"