erikrose / shiva

Shiva The Deployer, which [continuously] deploys Python web apps
MIT License
7 stars 3 forks source link

Beware of relocatable virtualenvs #6

Open erikrose opened 11 years ago

erikrose commented 11 years ago

This guy says that making a venv relocatable breaks its --no-site-packages isolation: https://pypi.python.org/pypi/virtualenv-clone. See if that's true. If it is, work around that, or don't use relocatable venvs in our provided routines. (In DXR, I use them because they make it possible to do a single, atomic mv -T to swap the deployment—venv and all—into place.)