[Distutils] The future of invoking pip

Donald Stufft donald at stufft.io
Fri Nov 6 17:24:11 EST 2015


On November 6, 2015 at 4:59:39 PM, Ionel Cristian Mărieș (contact at ionelmc.ro) wrote:
> On Fri, Nov 6, 2015 at 11:13 PM, Donald Stufft wrote:
>  
> > Eg: "pip -3" to launch pip using python3, "pip -3.5" to launch pip using
> > python3.5 - just like the "py"
> >
> >
> > Isn't this basically what the third option is? Just the launcher is also
> > the entire program.
> >
>  
> If you mean the initial mail you have send, I only saw two proposals:
> `python -mpip` and something with zipfiles. Not sure if having a zipfile
> around counts as a launcher, you wouldn't call something a launcher if it
> contains the target completely no?
>  

Well, it’s not really a launcher no, but you’d do ``pip -p python2 install foo`` or something like that. It’s the same UI. Having just a “launcher” I think is actually more confusing (and we already had that in the past with -E and removed it because it was confusing). Since you’ll have different versions of pip in different environments (Python or virtual) things break or act confusingly.

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




More information about the Distutils-SIG mailing list