From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add sympy, scikit-image, pandas, seaborn. Date: Fri, 15 May 2015 16:39:40 +0200 Message-ID: References: <87fv7d30v4.fsf@gnu.org> 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]:51860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtGmI-0003wp-ML for guix-devel@gnu.org; Fri, 15 May 2015 10:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtGmD-0001p8-B4 for guix-devel@gnu.org; Fri, 15 May 2015 10:39:54 -0400 In-Reply-To: <87fv7d30v4.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel Ludovic Court=C3=A8s writes: >> * gnu/packages/python.scm (python-scikit-image, python2-scikit-image):= New >> variables. >> * gnu/packages/python.scm (python-pandas, python2-pandas): New variabl= es. >> * gnu/packages/python.scm (python-seaborn, python2-seaborn): New varia= bles. [...] > Should these [inputs] be propagated, or does it work somehow when only > scikit is installed in a profile/build environment and one runs > =E2=80=98import scikit=E2=80=99? You were right. I had to propagate the inputs to make the import work. For seaborn "GI_TYPELIB_PATH=3D~/.guix-profile/lib/girepository-1.0" must be set as well as it uses matplotlib. I had to read the comments for python-matplotlib to figure this out. It would be better if we could use a search-path specification there. I pushed these three package recipies after changing the inputs and testing imports. Thanks! Ricardo