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

Barry Warsaw barry at python.org
Fri Mar 4 03:46:23 CET 2011

On Mar 03, 2011, at 09:08 AM, Toshio Kuratomi wrote:

>Thinking outside of the box, I can think of something that would satisfy
>your requirements but I don't know how appropriate it is for upstream python
>to ship with.  Stop shipping /usr/bin/python.  Ship "python" in an alternate
>location like $LIBEXECDIR/python2.7/bin (I think this would be
>/usr/lib/python2.7/bin on Debian and /usr/libexec/python2.7/bin on Fedora
>which would both be appropriate) then configure which python version is
>invoked by the user typing "python" by configuring PATH (a shell alias might
>also work).  You could configure this with environment-modules[1]_ if Debian
>supports using that in packaging.

I wonder if Debian's alternatives system would be appropriate for this?


-------------- 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/20110303/7c4dedb4/attachment.pgp>

More information about the Python-Dev mailing list