[TIP] suggestion to change tox's --pre defaults

Donald Stufft donald at stufft.io
Tue Oct 21 07:50:25 PDT 2014


> On Oct 21, 2014, at 10:48 AM, Paul Moore <p.f.moore at gmail.com> wrote:
> 
> On 21 October 2014 15:39, holger krekel <holger at merlinux.eu> wrote:
>> makes sense i think.  I just merged Carl's PR.
>> Could you do a PR changing to "python -m pip"?
>> I presume this works on python2.6 as well.
> 
> I'll see what I can do. Sadly, I discovered that -m for packages
> doesn't work on 2.6, *after* posting the original email. Would it be
> OK to use "python -m pip" for 2.7+ and "pip" for 2.6? Is that even
> possible? (I haven't checked the code yet).
> 
> If that's getting too complicated, maybe leaving it as using pip and
> having projects that need it just override the default, is better.
> (The only case I've hit it is with pip itself, which is obviously a
> bit of a special case :-))
> 
> Paul
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

I think you can use python -m pip.__main__ on 2.6

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




More information about the testing-in-python mailing list