[Distutils] The future of invoking pip

Oscar Benjamin oscar.j.benjamin at gmail.com
Wed Nov 11 07:38:16 EST 2015

On 11 November 2015 at 06:35, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Longer term, it may even make sense to take the "python" command on
> *nix systems in that direction, or, at the very least, make "py" a
> cross-platform invocation technique:
> https://mail.python.org/pipermail/linux-sig/2015-October/000000.html

This would also be good. The inconsistency between Windows and
everything else is just annoying here. I've never been able to
recommend the use of py.exe even though most of my students are on
Windows and the lab machines are Windows because many of them use OSX
and a few use Linux.

Also although I can reliably assume that "python" is on PATH I can't
know what version it is since it is most likely 3.x on Windows and 2.x
on everything else which means that every script I give them has to be
2/3 compatible. With py.exe I could recommend "py -3" or I guess "py
somescript.py" would throw a helpful error if the shebang doesn't
match (which would be good).


More information about the Distutils-SIG mailing list