<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 20, 2015, at 10:50 PM, Daniel Holth <<a href="mailto:dholth@gmail.com" class="">dholth@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">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.</p><div class=""><br class=""></div>
</div></blockquote><br class=""></div><div>One downside to <a href="https://bitbucket.org/dholth/setup-requires" class="">https://bitbucket.org/dholth/setup-requires</a> 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.</div><div><br class=""></div><div>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).</div><div><br class=""></div><div>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.</div><div><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">---</div><div class="">Donald Stufft</div><div class="">PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA</div></div></div>
</div>
<br class=""></body></html>