[Distutils] alternatives to zc.buildout?

Chris McDonough chrism at plope.com
Sat Feb 9 20:40:07 CET 2008

Martin Aspeli wrote:
> Chris McDonough wrote:
>> Martin Aspeli wrote:
>>> Tres Seaver wrote:
>>>> Hash: SHA1
>>>> Chris Withers wrote:
>>>>> Hi All,
>> I usually edit site-packages/easy_install.pth and delete the line that points to 
>> the egg.  And either delete the egg, or not.
> That file's fairly cryptic 

It's one path per line.  Doesn't get too much simpler than that.   .pth files 
have been around forever (almost literally, they have been around since I 
started using Python anyway, 7 years ago) and are documented pretty well in the 
Python docs:


> and the chances of screwing something up 
> there I think are higher than in the more user-oriented buildout.cfg.

True, at least if you trust the recipe authors.  Although deleting a line isn't 
very hard.

> Also, does deleting egg A in easy_install.pth cause any eggs that were 
> installed as dependencies of A but are no longer needed to go as well?


- C

More information about the Distutils-SIG mailing list