<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 8:28 AM, Nathaniel Smith <span dir="ltr"><<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Oct 27, 2015 at 12:19 AM, Ralf Gommers <<a href="mailto:ralf.gommers@gmail.com">ralf.gommers@gmail.com</a>> wrote:<br>
><br>
><br>
> On Tue, Oct 27, 2015 at 6:44 AM, Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br>
>><br>
>> On Mon, Oct 26, 2015 at 9:31 PM, Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br>
>> [...]<br>
>> > I believe that this would also break both 'easy_install numpy', and<br>
>> > attempts to install numpy via the setup_requires= argument to<br>
>> > setuptools.setup (because setup_requires= implicitly calls<br>
>> > easy_install). install_requires= would *not* be affected, and<br>
>> > setup_requires= would still be fine in cases where numpy was already<br>
>> > installed.<br>
>><br>
>> On further investigation, it looks like the simplest approach to doing<br>
>> this would actually treat easy_install and setup_requires= the same<br>
>> way as they treat pip, i.e., they would all be allowed. (I was<br>
>> misreading some particularly confusing code in setuptools.)<br>
>><br>
>> It also looks like easy_installed packages can at least be safely<br>
>> upgraded, so I guess allowing this is okay :-).<br>
><br>
><br>
> I just discovered <a href="https://bitbucket.org/dholth/setup-requires" rel="noreferrer" target="_blank">https://bitbucket.org/dholth/setup-requires</a>, which ensures<br>
> that setup_requires uses pip instead of easy_install. So we can not only<br>
> keep setup-requires working, but make it work significantly better.<br>
<br>
</span>IIUC this is not something that we (= numpy) could use ourselves, but<br>
instead something that everyone who does setup_requires=["numpy"]<br>
would have to set up in their individual projects?<br>
</blockquote><div><br></div><div>Right. I was thinking about using it in scipy. Ah well, I'm sure we can manage to not break ``setup_requires=numpy`` in some way. <br><br></div><div>Ralf<br></div></div><br></div></div>