From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Python-build-system does not honour phases Date: Tue, 10 Sep 2013 19:53:03 +0200 Message-ID: <87k3iobm2o.fsf@gnu.org> References: <20130907222607.GA28990@debian> <87hadtfzk4.fsf@gnu.org> <20130910082655.GA8621@debian> <20130910132836.GA4248@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJSCf-00041q-UF for guix-devel@gnu.org; Tue, 10 Sep 2013 13:58:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJSCY-0005yo-I2 for guix-devel@gnu.org; Tue, 10 Sep 2013 13:58:17 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:47398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJSCY-0005yk-CJ for guix-devel@gnu.org; Tue, 10 Sep 2013 13:58:10 -0400 In-Reply-To: <20130910132836.GA4248@debian> (Andreas Enge's message of "Tue, 10 Sep 2013 15:28:36 +0200") 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: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Tue, Sep 10, 2013 at 10:26:55AM +0200, Andreas Enge wrote: >> Maybe we should try to use a variable name %python-standard-phases inste= ad. > > The attached patch to guix/build/python-build-system.scm does just this > and works. Would it make sense to push it? No, I prefer to understand what=E2=80=99s going on and DTRT. > The part of the patch adding python-setuptools is not finished yet. > Installation ends with the contradictory error message [...] > You are attempting to install a package to a directory that is not > on PYTHONPATH and which Python does not read ".pth" files from. The > installation directory you specified (via --install-dir, --prefix, or > the distutils default setting) was: > > /nix/store/dwfvjk9rii9xyshfd6snny590a82bbfq-python-setuptools-1.1.4/l= ib/python3.3/site-packages/ > > and your PYTHONPATH environment variable currently contains: > > '/nix/store/dwfvjk9rii9xyshfd6snny590a82bbfq-python-setuptools-1.1.4/= lib/python3.3/site/packages/' The error seems to be that we use =E2=80=98site-packages=E2=80=99 when it e= xpects =E2=80=98site/packages=E2=80=99. The latter is clearly wrong, but I couldn=E2=80=99t find where it comes from (perhaps you fixed it in the meantime?). Ludo=E2=80=99.