From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Python 3 binaries Date: Sun, 8 Sep 2013 20:35:34 +0200 Message-ID: <20130908183534.GB13123@debian> References: <20130831153018.GA5442@debian> <5222282D.7000801@gmail.com> <20130901092817.GA19604@debian> <87d2osoczg.fsf@gnu.org> <20130901143907.GA23394@debian> <87k3j0igz8.fsf@gnu.org> <877gez91vz.fsf@naga.invergo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIjq0-0004n7-7k for guix-devel@gnu.org; Sun, 08 Sep 2013 14:36:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIjps-0007je-Tr for guix-devel@gnu.org; Sun, 08 Sep 2013 14:35:56 -0400 Content-Disposition: inline In-Reply-To: <877gez91vz.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 Hello, time to give a quick update! What I implemented in the python branch, following the discussions on the list, is the following: On Mon, Sep 02, 2013 at 08:24:48AM +0200, Brandon Invergo wrote: > > Then that means we don’t really have to worry, and just document that > > the python-3.x package is an unmodified upstream package, with its > > binary is called ‘python3’. > I think that is a fine way to do it. The most important part is > internal consistency. It seems that the "unmodified upstream" strategy > is the path of least resistance, and it will fit with the expectations > of all of the Debian-based users out there. There are unmodified binaries for Python 2.7.5 and Python 3.3.2 (which should probably be updated to 3.4.0). > As for the shebangs, you may well still have to do some patching for > some packages, if they were written in python3 but the shebang is for > /usr/bin/python. Then there is a package called "python-wrapper", which simply adds the following symlinks into the Python 3 bin/ directory: idle -> idle3 pydoc -> pydoc3 python -> python3 It is used internally as an input, so that shebangs need not be rewritten; but users may also install it if they wish Python 3 binaries known under the name of "python" etc., without also installing Python 2. Simple packages compile, and once a few problems with the build system are solved, I should be able to add setuptools, which will pave the way for more modules. Andreas