pypa/virtualenv — Issue #177: Creating a virtualenv from rjm.recipe.venv using zc.buildout v1.5>=0 fails
Author: WouterVH
Created: 2011-10-21 17:38:07+00:00
State: open

when bootstrapping a buildout with zc.buildout >=1.5
buildout creates a custom 'site.py' in $BUILDOUT_DIR/ parts/buildouts/site.py

there is a recipe ' rjm.recipe.venv' that turn your buildout-directory into a virtualenv:

------
in buildout.cfg:
[buildout]
...
parts =
rjm.recipe.venv

[virtual-env]
recipe = rjm.recipe.venv
venv_options = --no-site-packages --distribute

-------

Now this fails because:
Filename /opt/buildouts/demo-virtualenv3/parts/buildouts/site.py
does not start with any of these prefixes ['/usr']

This error occurs prior to issue https://github.com/pypa/virtualenv/issues/97.