Эх сурвалжийг харах

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)
Jie Luo 7 жил өмнө
parent
commit
5f9232b5e0
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      tests.sh

+ 2 - 1
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