From b6ff029673de6c96265cd18076b1697d92725325 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 23 Jan 2008 11:26:04 -0700 Subject: [PATCH] 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 --- _auto_deps.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_auto_deps.py b/_auto_deps.py index f24a4473b..97c1a9492 100644 --- a/_auto_deps.py +++ b/_auto_deps.py @@ -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__":