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 23:20:16 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> We need to factor this out. I suggest to do the following:
> In the install phase, before running setup.py, we create the directory and
> add it to the python path. But this would only be needed for programs creating
> modules, and I suppose not for programs that only create executables.
>
> I see two solutions:
> - We create the directory anyway, and try to remove it after installation with
>   "rmdir -p".
> - Or more cleanly, we can add a variable #:module? (default: #f) and create
>   the directory only if this variable is set to #t.
>
> What do you think?

It think it’s OK to create it anyway, and not even try to remove it,
because packages that use ‘python-build-system’ surely have Python
modules to install, no?

Ludo’.



reply via email to

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