guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add idr.


From: Ludovic Courtès
Subject: Re: [PATCH] Add idr.
Date: Tue, 16 Jun 2015 17:36:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> From 815a5e24f43f61c4beb243d98beb0659bbd74b3a Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <address@hidden>
> Date: Tue, 16 Jun 2015 11:33:26 +0200
> Subject: [PATCH] gnu: Add idr.
>
> * gnu/packages/bioinformatics.scm (idr): New variable.

[...]

> +          'install 'wrap-program
> +          (lambda* (#:key outputs #:allow-other-keys)
> +            (let ((out (assoc-ref %outputs "out"))
> +                  (path (getenv "PYTHONPATH")))
> +              (wrap-program (string-append out "/bin/idr")
> +                `("PYTHONPATH" ":" prefix (,path))))

Taking $PYTHONPATH as is has the effect of keeping a reference to Cython
and to setuptools, which may not be what you want, given that they are
listed as ‘native-inputs’.

Should it instead explicitly list SciPy, NumPy, and Matplotlib?

Thanks,
Ludo’.



reply via email to

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