<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 5:04 PM, Thomas Güttler <span dir="ltr"><<a href="mailto:guettliml@thomas-guettler.de" target="_blank">guettliml@thomas-guettler.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 21.10.2015 um 17:15 schrieb Antoine Pitrou:<br>
> On Wed, 21 Oct 2015 17:05:29 +0200<br>
> Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
>> On 21 October 2015 at 14:55, David Cournapeau <<a href="mailto:cournape@gmail.com">cournape@gmail.com</a>> wrote:<br>
>>><br>
>>> On Wed, Oct 21, 2015 at 12:52 PM, Thomas Güttler<br>
>>> <<a href="mailto:guettliml@thomas-guettler.de">guettliml@thomas-guettler.de</a>> wrote:<br>
>>>> ok, at the moment setuptools uses distutils.<br>
>>>><br>
>>>> Why not melt them together into **one** underwear-pants-module?<br>
>>><br>
>>><br>
>>> What do you hope getting from that ? distutils is in the stdlib, so cannot<br>
>>> change easily, and even if putting setuptools in the stdlib were possible,<br>
>>> you would now need to handle different versions of setuptools for different<br>
>>> versions of python.<br>
>><br>
>> It's more useful to go the other direction and vendor a modern version<br>
>> of distutils inside setuptools:<br>
><br>
> It seems it would only add a bit more craziness to the current<br>
> landscape. What happens to projects which have a need to monkeypatch<br>
> distutils? How does it interact with the vendored version? etc.<br>
<br>
What are the needs to monkeypatch distutils?<br>
<br></blockquote><div><br></div><div>That's the only way to extend distutils in a meaningful way, because of the broken command concept (e.g. the command dependency graph is defined inside the classes instead of being defined by an external scheduler).<br><br></div><div>As anybody who has dealt with that codebase will tell you, It is impossible to fix distutils without breaking most non trivial uses of it.<br><br></div><div>David<br></div></div></div></div>