[Distutils] buildout bootstrap.py doesn't work on Sabayon Linux with system python

Ralf Schmitt ralf at systemexit.de
Fri Aug 23 10:40:33 CEST 2013


Marius Gedminas <marius at pov.lt> writes:

>
> Basically, yes.  At least it's what I've come to expect.
>
> Here's my fool-proof method of setting up buildouts on the brave new
> post-setuptools-0.7 world:
>
>   virtualenv python
>   python/bin/pip install -U setuptools
>   python/bin/python bootstrap.py
>   bin/buildout
>

Another fool-proof method is setting up a virtualenv with the
--no-setuptools --no-pip flags. This gives you a clean python
environment to work with buildout and you only need to do this once. If
you create that virtualenv as root, you're also protected from
accidentally installing python packages.

You'll need virtualenv 1.10 or above in order to use --no-setuptools
--no-pip.

-- 
Cheers
Ralf


More information about the Distutils-SIG mailing list