File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff 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
377376sudo 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
383388done
You can’t perform that action at this time.
0 commit comments