zope.interface depends on setuptools but appears to think that it doesn't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The beginning of zope.interface 3.4.0 setup.py catches ImportError if setuptools can't be imported and attempts to fall back to distutils. However, it then immediately attempts to execute find_packages(). This means that (a) it fails if setuptools is not installed, but (b) it is hard for a user or an automated tool to tell that the problem is that setuptools is missing.
To fix this bug, why not use the ez_setup.py hack?
http://
Or if you don't like that hack, then at least just don't catch the ImportError so that it is easy to tell what's missing.
(For the record, I have an automated tool that I wrote which probes setup.py files to figure out whether they are packaged with distutils or with setuptools. zope.interface 3.4.0 is the only setup.py file that I've encountered which causes my tool to fail.)
Here's the bug report for my zope.interface-
This changelog entry suggests that perhaps this bug was fixed in zope.interface 3.4.1:
http:// pypi.python. org/pypi/ zope.interface# id1