[Distutils] Monkey patching distutils was: Remove distutils, was: red, green, refactor ...

Thomas Güttler guettliml at thomas-guettler.de
Thu Oct 22 18:04:31 CEST 2015


Am 21.10.2015 um 17:15 schrieb Antoine Pitrou:
> On Wed, 21 Oct 2015 17:05:29 +0200
> Nick Coghlan <ncoghlan at gmail.com> wrote:
>> On 21 October 2015 at 14:55, David Cournapeau <cournape at gmail.com> wrote:
>>>
>>> On Wed, Oct 21, 2015 at 12:52 PM, Thomas Güttler
>>> <guettliml at thomas-guettler.de> wrote:
>>>> ok, at the moment setuptools uses distutils.
>>>>
>>>> Why not melt them together into **one** underwear-pants-module?
>>>
>>>
>>> What do you hope getting from that ? distutils is in the stdlib, so cannot
>>> change easily, and even if putting setuptools in the stdlib were possible,
>>> you would now need to handle different versions of setuptools for different
>>> versions of python.
>>
>> It's more useful to go the other direction and vendor a modern version
>> of distutils inside setuptools:
> 
> It seems it would only add a bit more craziness to the current
> landscape. What happens to projects which have a need to monkeypatch
> distutils? How does it interact with the vendored version? etc.

What are the needs to monkeypatch distutils?

I guess there are good reasons to do so. So why
not implement this directly there, so that no monkey
patching is needed any more?

What are "vendored version" in this context?

Regards,
  Thomas Güttler


-- 
http://www.thomas-guettler.de/


More information about the Distutils-SIG mailing list