From ae05276c5c6760711fd1bd152df7261f345abb31 Mon Sep 17 00:00:00 2001 From: bhack Date: Tue, 1 Sep 2020 16:28:03 +0200 Subject: [PATCH] Add env variable (#2141) Add ENV for setuptools v50.0.0 --- tools/docker/build_wheel.Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/docker/build_wheel.Dockerfile b/tools/docker/build_wheel.Dockerfile index 22b75f8001..fe8a0271b1 100644 --- a/tools/docker/build_wheel.Dockerfile +++ b/tools/docker/build_wheel.Dockerfile @@ -12,6 +12,11 @@ ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +# Required for setuptools v50.0.0 +# https://setuptools.readthedocs.io/en/latest/history.html#v50-0-0 +# https://github.com/pypa/setuptools/issues/2352 +ENV SETUPTOOLS_USE_DISTUTILS=stdlib + RUN apt-get update && apt-get install patchelf # Fix presented in