Commit 118cc029 authored by Kenneth Reitz's avatar Kenneth Reitz

cleaner virtualenv runner

parent 54545df9
......@@ -23,13 +23,8 @@ indent() {
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
}
virtualenv() {
python - "$@" <<EOF
import sys
sys.path.insert(0, "$ROOT_DIR/src/virtualenv-1.7")
import virtualenv
virtualenv.main()
EOF
function virtualenv (){
python "$ROOT_DIR/src/virtualenv-1.7/virtualenv.py" "$@"
}
cd $BUILD_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment