Criar um ambiente buildout com pip

Modelo Genérico

Virtualenv --no-site-packages py
./py/bin/pip install zc.buildout==1.4.4
./py/bin/buildout \
buildout:download-cache=cache-buildout/downloads \
buildout:eggs-directory=cache-buildout/eggs \
buildout:extends-cache=cache-buildout/extends \
buildout:zope-directory=cache-buildout/zope \
buildout:develop-eggs-directory=cache-buildout/develop-eggs \
buildout:fake-eggs-directory=cache-buildout-cache/fake-eggs \
init;

Modelo para Python-2.7

Virtualenv --no-site-packages py27
./py27/bin/pip install zc.buildout==1.4.4
./py27/bin/buildout \
buildout:download-cache=cache-buildout/downloads \
buildout:eggs-directory=cache-buildout/eggs \
buildout:extends-cache=cache-buildout/extends \
buildout:zope-directory=cache-buildout/zope \
buildout:develop-eggs-directory=cache-buildout/develop-eggs \
buildout:fake-eggs-directory=cache-buildout-cache/fake-eggs \
init;

Modelo para Python-2.6

Virtualenv --no-site-packages py26
./py26/bin/pip install zc.buildout==1.4.4
./py26/bin/buildout \
buildout:download-cache=cache-buildout/downloads \
buildout:eggs-directory=cache-buildout/eggs \
buildout:extends-cache=cache-buildout/extends \
buildout:zope-directory=cache-buildout/zope \
buildout:develop-eggs-directory=cache-buildout/develop-eggs \
buildout:fake-eggs-directory=cache-buildout-cache/fake-eggs \
init;

Modelo para Python-2.4

Virtualenv --no-site-packages py24
./py24/bin/pip install zc.buildout==1.4.4
./py24/bin/buildout \
buildout:download-cache=cache-buildout/downloads \
buildout:eggs-directory=cache-buildout/eggs \
buildout:extends-cache=cache-buildout/extends \
buildout:zope-directory=cache-buildout/zope \
buildout:develop-eggs-directory=cache-buildout/develop-eggs \
buildout:fake-eggs-directory=cache-buildout-cache/fake-eggs \
init;

Comentários