guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python 3 binaries


From: Cyril Roelandt
Subject: Re: Python 3 binaries
Date: Sun, 01 Sep 2013 19:40:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5

On 09/01/2013 07:34 PM, Ludovic Courtès wrote:
However, my understanding from what Cyril and Brandon said is that users
may prefer to have it called ‘python3’ by default, so they can install
both Python 2 and Python 3 in parallel.  Furthermore, they can choose to
have (say) an alias python=python3 if that’s what they want.

Based on that, I thought the wrapper would be mostly for internal
consumption.

Did I get it right?

On Debian:

$ ls -l $(which python)
lrwxrwxrwx 1 root root 9 May  6 02:58 /usr/bin/python -> python2.7
$ ls -l $(which python3)
lrwxrwxrwx 1 root root 9 Aug 18 18:12 /usr/bin/python3 -> python3.3

Packages usually exist in two different versions: python-foo and python3-foo.

I think this is quite a good way of packaging both Python 2 and 3. One day, maybe nobody will use Python 2.x any more, and we'll just use "python" instead of "python3", but until then, I'm really happy to have "python" and "python3".


Cyril.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]