Commit 07480be3 authored by Matthew Brett's avatar Matthew Brett
Browse files

Merge branch 'devel'

* devel:
  Use virtualenv activate for setting path
  Updated Python version
parents 413205af bdc0a630
...@@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py ...@@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
DOWNLOADS_SDIR=downloads DOWNLOADS_SDIR=downloads
WORKING_SDIR=working WORKING_SDIR=working
# As of 2 June 2017 - latest Python of each version with binary download # As of 1 August 2017 - latest Python of each version with binary download
# available. # available.
LATEST_2p7=2.7.13 LATEST_2p7=2.7.13
LATEST_2p6=2.6.6 LATEST_2p6=2.6.6
...@@ -20,7 +20,7 @@ LATEST_3p2=3.2.5 ...@@ -20,7 +20,7 @@ LATEST_3p2=3.2.5
LATEST_3p3=3.3.5 LATEST_3p3=3.3.5
LATEST_3p4=3.4.4 LATEST_3p4=3.4.4
LATEST_3p5=3.5.3 LATEST_3p5=3.5.3
LATEST_3p6=3.6.1 LATEST_3p6=3.6.2
function check_python { function check_python {
...@@ -260,6 +260,7 @@ function remove_travis_ve_pip { ...@@ -260,6 +260,7 @@ function remove_travis_ve_pip {
} }
function set_py_vars { function set_py_vars {
# Used by terryfy project; left here for back-compatibility
export PATH="`dirname $PYTHON_EXE`:$PATH" export PATH="`dirname $PYTHON_EXE`:$PATH"
export PYTHON_EXE PIP_CMD export PYTHON_EXE PIP_CMD
} }
...@@ -286,8 +287,11 @@ function get_macpython_environment { ...@@ -286,8 +287,11 @@ function get_macpython_environment {
if [ -n "$venv_dir" ]; then if [ -n "$venv_dir" ]; then
install_virtualenv install_virtualenv
make_workon_venv $venv_dir make_workon_venv $venv_dir
source $venv_dir/bin/activate
else
export PATH="`dirname $PYTHON_EXE`:$PATH"
fi fi
set_py_vars export PYTHON_EXE PIP_CMD
} }
function repair_wheelhouse { 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