We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16f478e + 03c4b42 commit f28b815Copy full SHA for f28b815
bootstrap.sh
@@ -99,10 +99,13 @@ trap _destroy_venv EXIT
99
py_pkg_prefix=external/$(uname -m)
100
101
# Install a fresh pip in the current environment
102
-if $python -c 'import sys; sys.exit(sys.version_info[:2] == (3, 6))'; then
103
- get_pip_url="https://bootstrap.pypa.io/get-pip.py"
104
-else
+pyver=$(python3 -c 'import sys; print(".".join(str(s) for s in sys.version_info[:2]))')
+if [ "$pyver" == "3.6" ]; then
105
get_pip_url="https://bootstrap.pypa.io/pip/3.6/get-pip.py"
+elif [ "$pyver" == "3.7" ]; then
106
+ get_pip_url="https://bootstrap.pypa.io/pip/3.7/get-pip.py"
107
+else
108
+ get_pip_url="https://bootstrap.pypa.io/get-pip.py"
109
fi
110
111
if ! type "curl" > /dev/null 2>&1; then
0 commit comments