<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 13, 2013, at 2:30 PM, Marcus Smith <<a href="mailto:qwcode@gmail.com">qwcode@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
</div></div><p dir="ltr">I think we need to flip the dependencies so that pip as the installer has all the essential code for installation from PyPI and then setuptools and distlib depend on that pip infrastructure. No need to add anything to the standard library prematurely when we can add it to pip instead.</p>
</blockquote><div>not sure about the flip, but let me break some things down a bit for those who don't know:</div><div> </div><div>what pip has internally already (i.e. literally in it's package namespace):</div><div>
- pypi crawling/downloading</div><div>- wheel installing (does not require the pypi wheel project; only building wheels requires that)</div><div><br></div><div>what pip has "bundled' already:</div><div>- distlib (in 'pip.vendor'; currently only used for some --pre version logic)</div>
<div><br></div><div>what pip still needs to be self-sufficient to do wheel installs:</div><div>- something bundled or internal that does what pkg_resources does</div><div><br></div><div>theoretical options:</div><div>1)  bundle setuptools/pkg_resources</div>
<div>2)  use the bundled distlib to replace our use of pkg_resources</div><div>3)  internalize pkg_resources as pip.pkg_resources (i.e. fork off pkg_resources)</div><div><br></div><div>Marcus</div><div><br></div></div>
_______________________________________________<br>Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/distutils-sig">http://mail.python.org/mailman/listinfo/distutils-sig</a><br></blockquote></div><br><div>As you're aware I think it makes the most sense to just bundle setuptools wholesale. This makes it impossible to "break" pip by something going wrong in setuptools causing it to be uninstalled and means that for users who are only doing installs, they don't need setuptools installed just pip.</div><div>
<br>-----------------<br>Donald Stufft<br>PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

</div>
<br></body></html>