If we're not shipping it, we should just move it out of the way.
Otherwise, there are a few places in the various Windows packages that
will need it to be explicitly excluded. We should already have similar
exclusions for the test suite and a few other modules, but they're a bit
scattered around PC, PCbuild and Tools/msi. Easier to just remove it
from Lib.
Cheers,
Steve
On 5/10/2022 9:24 PM, Victor Stinner wrote:
On Tue, May 10, 2022 at 6:16 PM Steve Dower <steve.do...@python.org> wrote:
I agree. The internal tools that use it are all in our Tools directory,
so we can move distutils there and explicitly add an import path to
locate it. No need to keep it in the stdlib (Lib/) at all.
Migrating to Makefile builds is probably better long-term, but not as
important as moving distutils out from the stdlib so that setuptools can
rely on their copy being the "main" one.
With my current PR, Lib/_distutils/ is not installed by "make
install". Moving it to Tools/ would also work.
Victor
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/JG2BVL54C3RYXFFIX2TL7C53YPIWQHBQ/
Code of Conduct: http://python.org/psf/codeofconduct/