Skip to content

Commit a92bb7d

Browse files
committed
scripts: macpython 3.8 is build for osx 10.9
1 parent 88b1465 commit a92bb7d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

scripts/macpython-install-python.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,10 @@ function install_mac_cpython {
288288
# sets $PYTHON_EXE variable to Python executable
289289
local py_version=$(fill_pyver $1)
290290
local py_osx_ver=$2
291-
local py_stripped=$(strip_ver_suffix $py_version)
292291
local py_inst=$(pyinst_fname_for_version $py_version $py_osx_ver)
293292
local inst_path=$DOWNLOADS_SDIR/$py_inst
294293
mkdir -p $DOWNLOADS_SDIR
295-
curl $MACPYTHON_URL/$py_stripped/${py_inst} > $inst_path
294+
curl $MACPYTHON_URL/$py_version/${py_inst} > $inst_path
296295
if [ "${py_inst: -3}" == "dmg" ]; then
297296
hdiutil attach $inst_path -mountpoint /Volumes/Python
298297
inst_path=/Volumes/Python/Python.mpkg
@@ -376,8 +375,14 @@ function make_workon_venv {
376375
# Remove previous versions
377376
sudo rm -rf ${MACPYTHON_FRAMEWORK}
378377

379-
for pyversion in $LATEST_3p5 $LATEST_3p6 $LATEST_3p7 $LATEST_3p8; do
380-
install_macpython $pyversion
378+
for pyversion in $LATEST_3p5 $LATEST_3p6 $LATEST_3p7; do
379+
install_macpython $pyversion 10.6
380+
install_pip
381+
install_virtualenv
382+
done
383+
384+
for pyversion in $LATEST_3p8; do
385+
install_macpython $pyversion 10.9
381386
install_pip
382387
install_virtualenv
383388
done

0 commit comments

Comments
 (0)