Quantcast
Channel: Recent Gists from brainsik
Viewing all articles
Browse latest Browse all 32

hack so mkvirtualenv uses a different interpreter

$
0
0
example.sh
# create a temporary directory
mkdir tmp_python;cd tmp_python
# symlink "python" to the interpreter you want
ln -s `which python2.6` python
# have mkvirtualenv use the python symlink
PATH="$PWD:$PATH" mkvirtualenv py26party
# clean up
cd ..; rm -rf tmp_python

Viewing all articles
Browse latest Browse all 32

Trending Articles