]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: weaken the requirement on zope.interface from >= 3.1.0 to "any"
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 23 Jan 2008 18:26:04 +0000 (11:26 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 23 Jan 2008 18:26:04 +0000 (11:26 -0700)
We've never heard of a version of zope.interface that *wasn't* compatible, and there is a bug in Ubuntu's packaging of zope.interface which causes it to report its version number as 0.0.0:

https://bugs.launchpad.net/zope.interface/+bug/185418

_auto_deps.py

index f24a4473b8c4887892fb9cd4e625778fd2a008f1..97c1a9492db8bf0b83f307bcbbbe5a3cc6aaf301 100644 (file)
@@ -3,7 +3,7 @@ install_requires=["zfec >= 1.1.0",
                   "simplejson >= 1.7.1",
                   "pycryptopp >= 0.2.8",
                   "nevow >= 0.6.0",
-                  "zope.interface >= 3.1.0",
+                  "zope.interface",
                   ]
 import sys
 if hasattr(sys, 'frozen'):
@@ -20,7 +20,8 @@ def require_auto_deps():
         for requirement in install_requires:
             pkg_resources.require(requirement)
     for requirement in install_requires:
-        name, cmpop, verstr = requirement.split()
+        reqparts = requirement.split()
+        name = reqparts[0]
         __import__(name)
 
 if __name__ == "__main__":