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
This commit is contained in:
A. Unique TensorFlower 2019-06-06 04:46:59 -07:00 committed by TensorFlower Gardener
parent 1c0c9f2f6b
commit 43a7963cd5

View File

@ -139,6 +139,7 @@ class InstallCommand(InstallCommandBase):
ret = InstallCommandBase.finalize_options(self) ret = InstallCommandBase.finalize_options(self)
self.install_headers = os.path.join(self.install_purelib, self.install_headers = os.path.join(self.install_purelib,
'tensorflow', 'include') 'tensorflow', 'include')
self.install_lib = self.install_platlib
return ret return ret