From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Add idr. Date: Tue, 16 Jun 2015 17:36:56 +0200 Message-ID: <87h9q7u0kn.fsf@gnu.org> References: 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]:36381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4svC-0006WA-59 for guix-devel@gnu.org; Tue, 16 Jun 2015 11:37:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4sv6-0002NP-5f for guix-devel@gnu.org; Tue, 16 Jun 2015 11:37:06 -0400 In-Reply-To: (Ricardo Wurmus's message of "Tue, 16 Jun 2015 11:37:28 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." 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: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: > From 815a5e24f43f61c4beb243d98beb0659bbd74b3a Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > 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 =E2=80=98native-inputs=E2=80=99. Should it instead explicitly list SciPy, NumPy, and Matplotlib? Thanks, Ludo=E2=80=99.