[Python-Dev] Support the /usr/bin/python2 symlink upstream

Barry Warsaw barry at python.org
Mon Mar 7 16:30:19 CET 2011


On Mar 04, 2011, at 12:00 PM, Toshio Kuratomi wrote:

>Actually, my post was saying that these two can be decoupled.  ie: It's
>possible to not have /usr/bin/python while still allowing users to type
>python at a shell prompt and get the interpreter.
>
>This is done by either redefining the PATH to include the directory that the
>interpreter named "python" is in or by creating an alias for python to the
>proper interpreter.

I personally would prefer aliasing rather than $PATH manipulation.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110307/7ff36887/attachment.pgp>


More information about the Python-Dev mailing list