Skip to content

Commit 9e6da51

Browse files
committed
macos: Add Python 3.9 to installation script
1 parent fa61058 commit 9e6da51

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/macpython-install-python.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ LATEST_2p7=2.7.17
5050
LATEST_3p5=3.5.4
5151
LATEST_3p6=3.6.8
5252
LATEST_3p7=3.7.6
53-
LATEST_3p8=3.8.0
53+
LATEST_3p8=3.8.6
54+
LATEST_3p9=3.9.0
5455

5556

5657
function check_python {
@@ -115,6 +116,8 @@ function fill_pyver {
115116
echo $LATEST_3p5
116117
elif [ $ver == "3.8" ]; then
117118
echo $LATEST_3p8
119+
elif [ $ver == "3.9" ]; then
120+
echo $LATEST_3p9
118121
else
119122
echo "Can't fill version $ver" 1>&2
120123
exit 1
@@ -381,7 +384,7 @@ for pyversion in $LATEST_3p5 $LATEST_3p6 $LATEST_3p7; do
381384
install_virtualenv
382385
done
383386

384-
for pyversion in $LATEST_3p8; do
387+
for pyversion in $LATEST_3p8 $LATEST_3p9; do
385388
install_macpython $pyversion 10.9
386389
install_pip
387390
install_virtualenv

0 commit comments

Comments
 (0)