aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/internal_ci/helper_scripts/prepare_build_macos_rc
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2018-06-28 18:05:25 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2018-07-09 11:32:25 -0700
commit969e12cdc618a069d282b20b4c5e1fe39486b9d7 (patch)
tree9b2a406640ca94dd617f0e79e9385064ebc21813 /tools/internal_ci/helper_scripts/prepare_build_macos_rc
parent10d853dabdd4bc09698fa1f2d41481a936259d7e (diff)
Install Python3.7 on Windows and MacOS
Diffstat (limited to 'tools/internal_ci/helper_scripts/prepare_build_macos_rc')
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_macos_rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
index 2f12471a85..7cdb2e0cf7 100644
--- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc
+++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
@@ -67,6 +67,10 @@ pip install virtualenv --user python
pip install -U Mako six tox setuptools twisted pyyaml --user python
export PYTHONPATH=/Library/Python/3.4/site-packages
+# Install Python 3.7
+curl -O https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.9.pkg
+sudo installer -pkg ./python-3.7.0-macosx10.9.pkg -target /
+
# set xcode version for Obj-C tests
sudo xcode-select -switch /Applications/Xcode_9.2.app/Contents/Developer/