From 43a7963cd58f04d0ceac097a859c51d3f760db8b Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 6 Jun 2019 04:46:59 -0700 Subject: [PATCH] Put the dynamic libraries into the platlib (platform specific) instead of the purelib (default). This allows auditwheel to audit the wheel without errors. PiperOrigin-RevId: 251828232 --- tensorflow/tools/pip_package/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py index c36a2a0fa89..b0be339bb04 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -139,6 +139,7 @@ class InstallCommand(InstallCommandBase): ret = InstallCommandBase.finalize_options(self) self.install_headers = os.path.join(self.install_purelib, 'tensorflow', 'include') + self.install_lib = self.install_platlib return ret