Skip to content

Commit

Permalink
Set Env Variable to override Setuptools new behavior
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 423468055
Change-Id: I5b148103e1372a5eb73570bc77face27dbd5f914
  • Loading branch information
tensorflower-gardener authored and mihaimaruseac committed Jan 30, 2022
1 parent fdd4195 commit 0e5d378
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorflow/tools/ci_build/builds/pip_new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ PIP_TEST_ROOT=${TF_PIP_TEST_ROOT:-$DEFAULT_PIP_TEST_ROOT}
BUILD_BOTH_GPU_PACKAGES=${TF_BUILD_BOTH_GPU_PACKAGES:-$DEFAULT_BUILD_BOTH_GPU_PACKAGES}
BUILD_BOTH_CPU_PACKAGES=${TF_BUILD_BOTH_CPU_PACKAGES:-$DEFAULT_BUILD_BOTH_CPU_PACKAGES}

# Override breaking change in setuptools v60 (https://github.com/pypa/setuptools/pull/2896)
export SETUPTOOLS_USE_DISTUTILS=stdlib

# Local variables
PIP_WHL_DIR="${KOKORO_ARTIFACTS_DIR}/tensorflow/${PIP_TEST_ROOT}/whl"
mkdir -p "${PIP_WHL_DIR}"
Expand Down

0 comments on commit 0e5d378

Please sign in to comment.