Who cares exactly why it doesn't work? We know how to fix it by doing
something different (put build dependencies in a static file and have them
installed by pip before running setup.py).

On Tue, May 3, 2016 at 3:33 PM Donald Stufft <don...@stufft.io> wrote:

>
> On May 3, 2016, at 3:28 PM, Alex Grönholm <alex.gronh...@nextday.fi>
> wrote:
>
> As I pointed out in my previous post, "extended commands" are not the only
> use case for setup_requires -- upgrading setuptools itself would enable
> support for PEP 508 style conditional requirements. This currently does not
> work because if you have such requirements in your setup(), setuptools will
> fail when parsing those before it even has a chance to act on the minimum
> setuptools requirement specification in setup_requires.
>
>
> I don’t think this would work anyways without some terrible hacks since by
> the time setup_requires have been installed setuptools has already been
> imported so the *old* version will be in sys.modules.
>
> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372
> DCFA
>
>
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to