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
5781f553
Commit
5781f553
authored
Jan 31, 2021
by
Matthew Brett
Browse files
Fix again for Python 3.5
parent
a1f20117
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
osx_utils.sh
osx_utils.sh
+10
-3
No files found.
osx_utils.sh
View file @
5781f553
...
@@ -383,10 +383,17 @@ function get_macpython_environment {
...
@@ -383,10 +383,17 @@ function get_macpython_environment {
remove_travis_ve_pip
remove_travis_ve_pip
install_macpython
$version
$py_osx_ver
install_macpython
$version
$py_osx_ver
# Assume ensurepip available.
$PYTHON_EXE
-m
ensurepip
PIP_CMD
=
"
$PYTHON_EXE
-m pip"
PIP_CMD
=
"
$PYTHON_EXE
-m pip"
$PIP_CMD
install
--upgrade
pip
# Python 3.5 no longer compatible with latest pip
if
[
"
$(
get_py_mm
)
"
==
"3.5"
]
;
then
# https://stackoverflow.com/a/29751768/1939576
curl
-LO
https://bootstrap.pypa.io/3.5/get-pip.py
$PYTHON_EXE
get-pip.py
rm
get-pip.py
else
$PYTHON_EXE
-m
ensurepip
$PIP_CMD
install
--upgrade
pip
fi
if
[
-n
"
$venv_dir
"
]
;
then
if
[
-n
"
$venv_dir
"
]
;
then
install_virtualenv
install_virtualenv
...
...
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