r, = pkg_resources.parse_requirements('setuptools') print r.project_name setuptools }}}
I noticed that "easy_install setuptools" does not install anything noting that distribute is already installed. But why does not
parse_requirement behave in a similar manner?
PyPM interfaces with setuptools through the API only, and not the command line tools. It would be nice to have this support built into distribute, otherwise we have to hardcode this transformation in PyPM itself.
PS: I stumbled upon this issue while replacing setuptools with distribute in PyPM and the repositories (it is still in an experimental branch though).