".github/vscode:/vscode.git/clone" did not exist on "5d7140be972fbd980797ae7b5468efb6ce5c20e0"
Commit bdc0a630 authored by Matthew Brett's avatar Matthew Brett
Browse files

Use virtualenv activate for setting path

Use proper activate sourcing for virtualenv
parent 178cf9e5
......@@ -260,6 +260,7 @@ function remove_travis_ve_pip {
}
function set_py_vars {
# Used by terryfy project; left here for back-compatibility
export PATH="`dirname $PYTHON_EXE`:$PATH"
export PYTHON_EXE PIP_CMD
}
......@@ -286,8 +287,11 @@ function get_macpython_environment {
if [ -n "$venv_dir" ]; then
install_virtualenv
make_workon_venv $venv_dir
source $venv_dir/bin/activate
else
export PATH="`dirname $PYTHON_EXE`:$PATH"
fi
set_py_vars
export PYTHON_EXE PIP_CMD
}
function repair_wheelhouse {
......
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