[Distutils] alternatives to zc.buildout?

Martin Aspeli optilude at gmx.net
Sat Feb 9 18:15:10 CET 2008


Chris McDonough wrote:
> Martin Aspeli wrote:
>> Tres Seaver wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Chris Withers wrote:
>>>> Hi All,
>>>>
>>  >
>>> The standard installs for repoze.zope2, repoze.grok, repoze.plone, etc.
>>> all assume a virtualenv, and add scripts which turn the vanilla
>>> virtualenv into an "instance."
>> The problem I have with virtualenv - or rather, with raw setuptools 
>> based solutions - is that it's difficult to uninstall eggs. With 
>> buildout, once you remove the requirement/egg line and re-run buildout, 
>> the egg is no longer installed.
> 
> 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 and the chances of screwing something up 
there I think are higher than in the more user-oriented buildout.cfg.

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?

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Distutils-SIG mailing list