I poked around some more, and found that while Nevow is now ok, the
python-simplejson package is not. Our tahoe "setup.py --develop" process
fails to notice that simplejson is already installed, and downloads+builds a
new copy.

python-simplejson uses python-support instead of pycentral. The .egg-info/
directory is in a directory that is on sys.path:
/var/lib/python-support/python2.5/ .

While experimenting, I noticed that moving the .egg-info/ directory earlier
in sys.path (to /usr/lib/python2.5/site-packages/) was sufficient to make
setuptools correctly notice simplejson and refrain from downloading+building
it during our tahoe "--develop" step.

So my hypothesis is that setuptools is not correctly handling the later
elements of sys.path, perhaps because they are added by a site.py or *.pth
file. Switching a package to use pycentral happens to fix the problem,
because pycentral puts .egg-info files in the normal /usr/lib directory.
python-support packages remain vulnerable to this apparent bug.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to