On Tue, May 10, 2022 at 11:28 AM Christian Heimes <[email protected]> wrote: > > Right now, Python still uses distutils internally for multiple use > > cases. I propose to start with renaming the distutils package to > > _distutils in the stdlib: > > > > * https://github.com/python/cpython/issues/92584 > > * https://github.com/python/cpython/pull/92585 > > Erlend and I got most extension modules ported to autoconf and > Modules/Setup.stdlib. The remaining modules should be done in a couple > of weeks. I recommend that we do not rename distutils and instead remove > it entirely.
test_peg_generator and test_cppext build C extensions with distutils. Until these tests are modified to use something else, we still need to keep distutils. So I propose to rename it to _distutils to remove it from the stdlib. Maybe these tests can use ensurepip to install setuptools which provides distutils. There is also the c-analyzer tool which uses distutils to run a C preprocessor. Victor -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/TFBMHY4JV3QJL5I7VB65G7VHVUMJD4GX/ Code of Conduct: http://python.org/psf/codeofconduct/
