From: Zooko O'Whielacronx Date: Wed, 7 Nov 2007 17:11:56 +0000 (-0700) Subject: setup: print out the version number of pycryptopp in "tahoe --version" X-Git-Tag: allmydata-tahoe-0.7.0~258 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=3c222bbe269c110fac9a3d5c18f1a23c562a6827;p=tahoe-lafs%2Ftahoe-lafs.git setup: print out the version number of pycryptopp in "tahoe --version" --- diff --git a/src/allmydata/scripts/common.py b/src/allmydata/scripts/common.py index 794d9868..b29d2b83 100644 --- a/src/allmydata/scripts/common.py +++ b/src/allmydata/scripts/common.py @@ -11,11 +11,12 @@ class BaseOptions: def opt_version(self): from twisted import copyright - import allmydata, zfec, foolscap + import allmydata, zfec, foolscap, pycryptopp print "Twisted version:", copyright.version print "Foolscap version:", foolscap.__version__ print "zfec version:", zfec.__version__ print "allmydata version:", allmydata.__version__ + print "pycryptopp version:", pycryptopp.__version__ sys.exit(0)