[Distutils] [buildout] selectively excluding site-packages

Marius Gedminas marius at pov.lt
Sat Mar 20 18:39:15 CET 2010


On Fri, Mar 19, 2010 at 12:59:01PM -0500, John Griessen wrote:
> Suppose I'm starting fresh, (newbie at this, but wanting stability and
> new features).  How do you best use buildout to "simply use a system
> Python without site-packages at all"?

I'm using virtualenv to isolate my buildouts from site-packages:

  virtualenv --no-site-packages venv
  venv/bin/python bootstrap.py
  bin/buildout

After step 2 you can forget that you have a virtualenv and use buildout
normally.

Marius Gedminas
-- 
The *REAL* Y2K is the year 2048.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100320/1c2605be/attachment.pgp>


More information about the Distutils-SIG mailing list