setup: weaken the requirement on zope.interface from >= 3.1.0 to "any"

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
This commit is contained in:
Zooko O'Whielacronx 2008-01-23 11:26:04 -07:00
parent 69ae5b0b75
commit b6ff029673

View File

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