This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
V=2.7 | |
rm -rf build-env | |
rm -rf vendor/setuptools-*.egg vendor/pip-*.egg | |
virtualenv --python python$V --no-site-packages build-env | |
mv build-env/lib/python$V/site-packages/ build-env/lib/python$V/orig-site-packages | |
(cd build-env/lib/python$V && | |
ln -s ../../../vendor site-packages && | |
cd ../.. && mv bin bin-orig && | |
ln -s ../vendor/bin bin && | |
mv bin-orig/python* bin/ ) |