[Distutils] flip the pip dependencies (was Current status of PEP 439)

Donald Stufft donald at stufft.io
Sat Jul 13 22:16:40 CEST 2013

On Jul 13, 2013, at 4:08 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> On 13 July 2013 20:35, Marcus Smith <qwcode at gmail.com> wrote:
> The drawbacks of bundling setuptools:
> 1) maybe some weird bug/side-effect shows up after we do it (ok, maybe that's FUD)
> One possible issue is with the "install from sdist" code, which runs Python in a subprocess with the "import setuptools, etc etc" incantation to force always using setuptools. That may break (or at least need changing) for a bundled setuptools, which won't be visible from the top level by default. Worth checking, anyway.
> Of course, this code path becomes less important as we move towards installing from wheels, but it's going to be a while before that's the norm.
> Paul
> PS Apologies if I already said this. I'm losing track of what I've replied to and what I've just thought about on this thread :-(

Pip already wraps that code to force things to use setuptools even if they use distutils. So in that case pip would just need to modify it's own code to add setuptools to sys.modules (or extend sys.path in that sub process).

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130713/89ac4cf4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130713/89ac4cf4/attachment.pgp>

More information about the Distutils-SIG mailing list