> On Jan 20, 2015, at 10:50 PM, Daniel Holth <dho...@gmail.com> wrote: > > Just use my script. Once new-metadata has been standardized pip itself will > know how to install build (setup) requirements and the script will be > obsolete. Until then I think you will find it works. > >
One downside to https://bitbucket.org/dholth/setup-requires <https://bitbucket.org/dholth/setup-requires> is that it’s not going to work for people who use something like ``pip install —cert`` or ``pip install —index`` (specifically the CLI flags, not environment variables or config files). This is already a problem with setup_requires, but one I have a plan to fix. It’s also not going to work on Python 2.6 but that’s a trivial fix. The major downside to this though is that trying to work around the built in setuptools mechanisms is going to go wrong I think. I’m hoping to in the next pip version to have a solution where pip itself will install setup_requires instead of setuptools handling it. However looking at the implementation of dholth/setup-requires I’m pretty sure that this is going to “defeat” that and prevent pip from being able to wrest control of dholth/setup-requires style setup_requires (which will make things like ``pip install —cert`` work). Generally I’m of the opinion that the trickier someone makes their setup.py, the worse of an idea it is and the more likely it is going to break. --- Donald Stufft PGP: 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