From: Zooko O'Whielacronx Date: Wed, 23 Jan 2008 18:26:04 +0000 (-0700) Subject: setup: weaken the requirement on zope.interface from >= 3.1.0 to "any" X-Git-Url: https://git.rkrishnan.org/frontends/listings/copyable-send.py?a=commitdiff_plain;h=b6ff029673de6c96265cd18076b1697d92725325;p=tahoe-lafs%2Ftahoe-lafs.git 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 --- diff --git a/_auto_deps.py b/_auto_deps.py index f24a4473..97c1a949 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__":