[issue43976] Allow Python distributors to add custom site install schemes

Jason R. Coombs report at bugs.python.org
Tue Sep 21 14:06:14 EDT 2021


Jason R. Coombs <jaraco at jaraco.com> added the comment:

> In the short term, and possible for the long term, Debian can continue to patch the install routine...

The problem with this approach is Setuptools is attempting to adopt distutils by exposing its own vendored copy of distutils as `distutils` (top-level name). By doing this, it bypasses the Debian's patching of distutils as found in CPython. Because this bypass behavior breaks distutils for Debian users, the functionality has been disabled (opt-in).

Setuptools would like to be able to present a version of distutils that, unpatched, runs on all the major platforms, and thus make it default.

That won't be possible until Debian can stop relying on its patching of distutils.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43976>
_______________________________________


More information about the Python-bugs-list mailing list