[Python-ideas] py launcher for Linux?
Andrew Barnert
abarnert at yahoo.com
Thu Apr 17 00:32:25 CEST 2014
On Apr 16, 2014, at 4:50, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Note that my main interest here is in making commands like:
>
> py -3 -m pip install foo
>
> cross platform rather than Windows specific. At the moment we don't have a way to explicitly invoke Python 3 that works everywhere.
>
It might be a lot simpler to get just that than the full py script:
If you just run python (off the path), unless -3 is specified, in which case you run python3 instead.
Doesn't that over all known distros, third-party installations, and pristine local installs of 3.x?
If you also want to make -2 portable, it seems like that requires some configuration (as long as some distros install 3.x as python, and others install 2.x as just python and not also python2). But is that a requirement!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140416/5d6166a6/attachment.html>
More information about the Python-ideas
mailing list