[Python-Dev] .pth files are evil

David Lyon david.lyon at preisshare.net
Mon May 11 03:32:11 CEST 2009


On Sun, 10 May 2009 09:41:33 -0600, Zooko Wilcox-O'Hearn <zooko at zooko.com>
wrote:
>> (Of course, this ignores the issue of uninstalling previous
>> versions, or overwriting of conflicting files in the target -- does
>> pip handle these?)
> 
> GNU stow does handle these issues.

I'm not sure GNU stow will handle the .PTH when deinstalling packages.

In easy_install.PTH there will be a list of all the packages installed.

This list really needs to be edited once a package is removed.

The .PTH files are a really good part of python. Definitely nothing
evil about them.

David



More information about the Python-Dev mailing list