I have setuptools 0.6.8, which installs packages into site-packages with no permissions for anything and anyone except root. Specifically, when I easy_installed 'py', I could only use py.test as the root. Only after I have chmoded everything in the site-packages o+xr did it start working for my normal user. There is a year old Bug concerning what is at least a similar problem, but is marked as resolved. http://bugs.gentoo.org/215404
Can you reproduce this problem with the newest version? Please provide exact steps to reproduce.
(In reply to comment #1) > Can you reproduce this problem with the newest version? > Please provide exact steps to reproduce. > Sorry, haven't done emerge --sync for a while. It does repro with the newest version of setuptools though. repro: 1. remove my precious py package # rm -rf /usr/lib64/python2.6/site-packages/py-1.1.1-py2.6.egg 2. # easy_install py 3. $ py.test Traceback (most recent call last): File "/usr/bin/py.test", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 2655, in <module> working_set.require(__requires__) File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: py==1.1.1 after # chmod -R o+xr /usr/lib64/python2.6/site-packages/py-1.1.1-py2.6.egg it works
Please attach test files used for reproduction of this bug.
No files needed. If py.test does not find any test files, it should say so, not blow up with a traceback.
We don't apply any patches, which would cause this bug. Please report it to upstream.