[Distutils] Replacing pip.exe with a Python script

Donald Stufft donald at stufft.io
Wed Jul 17 21:20:48 CEST 2013


On Jul 17, 2013, at 3:12 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> The problem issue remaining is recognising when we need to do this. In terms of code paths, pip install -U pip is no different from (for example) pip install -U flask. But it needs to be handled specially just because it's pip. And it *doesn't* need to be handled specially if it's "python -m pip install -U pip". That's not a Windows issue, though, I was just using the Windows issue to put off having to think about it :-)

OTOH it doesn't *hurt* to do it so if a conditional is hard to sort out (I'm thinking explicitly about pip vs python -mpip) we can just genericize it.

-----------------
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/20130717/cb89eec5/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/20130717/cb89eec5/attachment.pgp>


More information about the Distutils-SIG mailing list