xla
xla copied to clipboard
PR #74090: Removing distutils leftover
PR #74090: Removing distutils leftover
Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/74090
This aims to finish #58073. The patch is untested but follow https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html. I did not touch the install scripts.
Thanks, Copybara import of the project:
-- fe3c0659eb168dc155f7d579255953dfc89b1387 by Alexis Praga [email protected]:
Removing distutils leftover
-- 57c24de0b367dd3ba78211f08ef4397014cff48f by Alexis Praga [email protected]:
Fix linter error
-- 9476971caa2e5805cecdfcad9b0f5a7f0e331d9e by Alexis Praga [email protected]:
Correcting import order for linter
Shutil mainly
-- d74adacac6e544d75b6446d5565ec85bb4f25b6f by Alexis Praga [email protected]:
Fix conflict between sysconfig
__init__py has : from tensorflow._api.v2 import sysconfig which conflict with python sysconfig
Merging this change closes #74090
Reverts changelist a CL rolling back a previous version of this PR
FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/74090 from apraga:no-distutil 52909d48fece0dec3c6b2e4b3673443bd83d46e3