Revert "Revert "buildPython*: wrap setuptools in hook for catching conflicts""

Most packages were fixed up on python-unstable branch.

This reverts commit 3ff2d9362c.
This commit is contained in:
Frederik Rietdijk
2022-09-20 09:49:27 +02:00
parent f1dcc2356b
commit 8895944c57
3 changed files with 3 additions and 4 deletions
@@ -121,7 +121,7 @@ let
ensureNewerSourcesForZipFilesHook # move to wheel installer (pip) or builder (setuptools, flit, ...)?
pythonRemoveTestsDirHook
] ++ lib.optionals catchConflicts [
setuptools pythonCatchConflictsHook
pythonCatchConflictsHook
] ++ lib.optionals removeBinBytecode [
pythonRemoveBinBytecodeHook
] ++ lib.optionals (lib.hasSuffix "zip" (attrs.src.name or "")) [