aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJie Luo <anandolee@gmail.com>2018-05-09 15:35:03 -0700
committerGitHub <noreply@github.com>2018-05-09 15:35:03 -0700
commit5f9232b5e0f1e53ccc5deef4be10e17064852d56 (patch)
tree3ce3d7d5526837840e5a2a2aba7d6a60173ed6c9
parent25625b956a2f0d432582009c16553a9fd21c3cea (diff)
downloadprotobuf-5f9232b5e0f1e53ccc5deef4be10e17064852d56.tar.gz
protobuf-5f9232b5e0f1e53ccc5deef4be10e17064852d56.tar.bz2
protobuf-5f9232b5e0f1e53ccc5deef4be10e17064852d56.zip
use brew install instead of easy_install in OSX (#4537)
use brew instead of easy_install in OSX (easy_install keep failing for a month)
-rwxr-xr-xtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index feb90c59..5fec74c0 100755
--- a/tests.sh
+++ b/tests.sh
@@ -228,7 +228,8 @@ internal_install_python_deps() {
fi
# Install tox (OS X doesn't have pip).
if [ $(uname -s) == "Darwin" ]; then
- sudo easy_install tox
+ brew upgrade python
+ python3 -m pip install tox
else
sudo pip install tox
fi