Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
07480be3
Commit
07480be3
authored
Aug 18, 2017
by
Matthew Brett
Browse files
Merge branch 'devel'
* devel: Use virtualenv activate for setting path Updated Python version
parents
413205af
bdc0a630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
osx_utils.sh
osx_utils.sh
+7
-3
No files found.
osx_utils.sh
View file @
07480be3
...
...
@@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
DOWNLOADS_SDIR
=
downloads
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.
LATEST_2p7
=
2.7.13
LATEST_2p6
=
2.6.6
...
...
@@ -20,7 +20,7 @@ LATEST_3p2=3.2.5
LATEST_3p3
=
3.3.5
LATEST_3p4
=
3.4.4
LATEST_3p5
=
3.5.3
LATEST_3p6
=
3.6.
1
LATEST_3p6
=
3.6.
2
function
check_python
{
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment