[Distutils] buildout: several fold performance increases

Ross Patterson me at rpatterson.net
Sun Jan 29 06:25:50 CET 2012

David Glick <dglick at gmail.com> writes:

> On 1/28/12 1:24 PM, Ross Patterson wrote:
>> FYI, I also tried doing:
>>      $ virtualenv -p ~/src/buildout.python/python-2.6/bin/python2.6
>> --no-site-packages --distribute --clear .
>> ...for both Python 2.5 and 2.6 and then deleting the distribute egg from
>> lib/python2.#/site-packages but even that resulted in test failures.
>> Not sure if this indicates a problem with the way buildout.python builds
>> python.
> I think this is simply because some of the zc.buildout tests run
> python -S (don't use site.py), and virtualenv relies on a modified
> site.py to add the stdlib to sys.path. IOW, the zc.buildout tests are
> not compatible with virtualenv's approach to isolation.

Ah, I didn't know that's how virtualenv did things.  Thanks for the

BTW, thanks to your help, I have properly running tests and have gotten
the env-cache branch to pass all tests.  Yay!

So, now that all tests are passing, can someone review this branch and
give me feedback?


More information about the Distutils-SIG mailing list