Commit 0bee3028 authored by Andrew Murray's avatar Andrew Murray
Browse files

Python 3.10 has a 2 character minor version

parent 784e45f2
...@@ -323,7 +323,7 @@ function install_mac_cpython { ...@@ -323,7 +323,7 @@ function install_mac_cpython {
inst_path=/Volumes/Python/Python.mpkg inst_path=/Volumes/Python/Python.mpkg
fi fi
sudo installer -pkg $inst_path -target / sudo installer -pkg $inst_path -target /
local py_mm=${py_version:0:3} local py_mm=${py_version%.*}
PYTHON_EXE=$MACPYTHON_PY_PREFIX/$py_mm/bin/python$py_mm PYTHON_EXE=$MACPYTHON_PY_PREFIX/$py_mm/bin/python$py_mm
# Install certificates for Python 3.6 # Install certificates for Python 3.6
local inst_cmd="/Applications/Python ${py_mm}/Install Certificates.command" local inst_cmd="/Applications/Python ${py_mm}/Install Certificates.command"
......
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