projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6801d5f
)
setup: simplify parsing of python version number
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 29 Aug 2008 00:00:45 +0000
(17:00 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 29 Aug 2008 00:00:45 +0000
(17:00 -0700)
src/allmydata/__init__.py
patch
|
blob
|
history
diff --git
a/src/allmydata/__init__.py
b/src/allmydata/__init__.py
index 4c8c5712e1d398afb05eabab4833adbd590914c5..85e3dd159d045c9aee0d89d87cef1e073230c046 100644
(file)
--- a/
src/allmydata/__init__.py
+++ b/
src/allmydata/__init__.py
@@
-25,10
+25,10
@@
_auto_deps.require_auto_deps()
def get_package_versions():
import OpenSSL, allmydata, foolscap, nevow, pycryptopp, simplejson, twisted, zfec, sys
- from distutils.version import LooseVersion
try:
- pyver =
LooseVersion('.'.join([str(c) for c in sys.version_info])
)
+ pyver =
'.'.join([str(c) for c in sys.version_info]
)
except:
+ # This will probably never happen, but if it does:
pyver = sys.version
setuptools_version = "unavailable"