guix-devel
[Top][All Lists]
Advanced

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

Re: Python-build-system does not honour phases


From: Ludovic Courtès
Subject: Re: Python-build-system does not honour phases
Date: Tue, 10 Sep 2013 19:53:03 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> 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 instead.
>
> 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’s 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/lib/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 ‘site-packages’ when it expects
‘site/packages’.

The latter is clearly wrong, but I couldn’t find where it comes from
(perhaps you fixed it in the meantime?).

Ludo’.



reply via email to

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