Fixing the setuptools issue for pip builds.
authorAmit Patankar <amitpatankar@google.com>
Wed, 6 Jun 2018 18:41:23 +0000 (11:41 -0700)
committerAmit Patankar <amitpatankar@google.com>
Wed, 6 Jun 2018 18:41:23 +0000 (11:41 -0700)
tensorflow/tools/ci_build/builds/pip.sh

index 5fa75e1d61cceeebfa77439bb64f1c644c9dba70..76210ba463a32a6549ad91bee0e01a88425002ce 100755 (executable)
@@ -315,6 +315,7 @@ create_activate_virtualenv_and_install_tensorflow() {
   # Upgrade pip so it supports tags such as cp27mu, manylinux1 etc.
   echo "Upgrade pip in virtualenv"
   pip install --upgrade pip==9.0.1
+  pip install --upgrade setuptools==39.1.0
 
   # Force tensorflow reinstallation. Otherwise it may not get installed from
   # last build if it had the same version number as previous build.