setuptools errors bubble up in a unhelpfull way

Issue #117 new
Ronny Pfannschmidt
created an issue

i get the following trace because the setuptools errors just bubble up

{{{

!pytb

$ py.test inserting into sys.path: /home/ronny/Projects/py Traceback (most recent call last): File "/home/ronny/Projects/py/bin/py.test", line 3, in <module> py.cmdline.pytest() File "/home/ronny/Projects/py/py/_test/cmdline.py", line 13, in main config.parse(args) File "/home/ronny/Projects/py/py/_test/config.py", line 95, in parse self._preparse(args) File "/home/ronny/Projects/py/py/_test/config.py", line 83, in _preparse self.pluginmanager.consider_setuptools_entrypoints() File "/home/ronny/Projects/py/py/_test/pluginmanager.py", line 104, in consider_setuptools_entrypoints plugin = ep.load() File "/home/ronny/Projects/distribute/pkg_resources.py", line 1953, in load if require: self.require(env, installer) File "/home/ronny/Projects/distribute/pkg_resources.py", line 1966, in require working_set.resolve(self.dist.requires(self.extras),env,installer)) File "/home/ronny/Projects/distribute/pkg_resources.py", line 552, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pytest-xdist>=1.4 }}}

what i really needed to know is the EntryPoint as well, cause the origin was the still installed pytest_cov plugin that depended on pytest-xdist

i.e. something like {{{ WARNING: cant load plugin pytest_cov because it depends on pytest-xdist (which is not installed) }}}