Python setup.py does not update easy_install.pth

According to setuptools , setup.py develop is supposed to create an egg link file and update easy_install.pth when installed in the package sites folder. However, in my case, this is only creating an egg link file. How does setuptools decide if easy_install.pth needs to be updated?

Additional information: It works when I have setuptools 0.6c7 installed as a folder under the packages site. But when I use setuptools 0.6c9 installed as a zip, it does not work.

+6
python setuptools
source share
2 answers

Reinstall setuptools with the easy_install --always-unzip --upgrade setuptools . If this is fixed, then the problem with zipping was a problem.

+4
source share

I would try to debug it using pdb. The problem is most likely related to the easy way to install check_site_dir, which is looking for easy-install.pth.

0
source share

All Articles