From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Python 3 binaries Date: Sun, 1 Sep 2013 15:49:49 +0200 Message-ID: <20130901134949.GA5912@debian> References: <8738ppnebh.fsf@naga.invergo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VG82T-00005t-Al for guix-devel@gnu.org; Sun, 01 Sep 2013 09:50:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VG82L-00066Y-VW for guix-devel@gnu.org; Sun, 01 Sep 2013 09:50:01 -0400 Content-Disposition: inline In-Reply-To: <8738ppnebh.fsf@naga.invergo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Brandon Invergo Cc: guix-devel@gnu.org On Sun, Sep 01, 2013 at 10:20:18AM +0200, Brandon Invergo wrote: > Here's what it looks like on my Parabola system, which I think is a sane > way of doing it (ok, there's no *truly* sane way of doing it): > $ ls -l /usr/bin/python* > lrwxrwxrwx 1 root root 1K May 21 17:50 /usr/bin/python -> python3 > lrwxrwxrwx 1 root root 1K May 21 17:50 /usr/bin/python-config -> python3-config > lrwxrwxrwx 1 root root 1K May 12 18:01 /usr/bin/python2 -> python2.7 > lrwxrwxrwx 1 root root 1K May 12 18:01 /usr/bin/python2-config -> python2.7-config > -rwxr-xr-x 1 root root 7K May 12 18:01 /usr/bin/python2.7 > -rwxr-xr-x 1 root root 2K May 12 18:01 /usr/bin/python2.7-config > lrwxrwxrwx 1 root root 1K May 21 17:50 /usr/bin/python3 -> python3.3 > lrwxrwxrwx 1 root root 1K May 21 17:50 /usr/bin/python3-config -> python3.3-config > -rwxr-xr-x 2 root root 11K May 21 17:50 /usr/bin/python3.3 > lrwxrwxrwx 1 root root 1K May 21 17:50 /usr/bin/python3.3-config -> python3.3m-config > -rwxr-xr-x 2 root root 11K May 21 17:50 /usr/bin/python3.3m > -rwxr-xr-x 1 root root 2K May 21 17:50 /usr/bin/python3.3m-config This is more or less what happens now, with the default implicitly being Python 2, since the Python 2 package ships a binary "python" and the Python 3 package ships a binary "python3". Since we promise to follow upstream as closely as possible, it would make sense for us to keep this situation. > Shebangs are routinely changed in Parabola to accommodate this but since > shebangs are also routinely being changed in Guix anyway, this shouldn't > be a problem. This is what my patch that I sent previously to the list should accomplish. Thanks for the input! Andreas