From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Python applications that are also libraries Date: Wed, 04 Apr 2018 22:13:26 +0200 Message-ID: <87k1tmk9w9.fsf@elephly.net> References: <019dbf72-e41b-84ae-405b-cace8053107b@crazy-compilers.com> 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]:41269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3p1Y-0005ox-Og for guix-devel@gnu.org; Wed, 04 Apr 2018 16:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3p1U-0003zp-Ra for guix-devel@gnu.org; Wed, 04 Apr 2018 16:28:52 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3p1U-0003zH-H1 for guix-devel@gnu.org; Wed, 04 Apr 2018 16:28:48 -0400 In-reply-to: <019dbf72-e41b-84ae-405b-cace8053107b@crazy-compilers.com> 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" To: Hartmut Goebel Cc: guix-devel@gnu.org Hartmut Goebel writes: > Am 04.04.2018 um 11:36 schrieb Ricardo Wurmus: >> I wonder how to deal with this. Should we assume that these packages >> are used as libraries and default to propagating all Python inputs? Or >> should we have package variants (or outputs?) that propagate inputs as a >> side-effect? > > If this is a "pure" application, I'd install it with*out* propagated > inputs. This might not be easy to determine, though. It is both. It is often used just as an application, but the procedures that make up the application are just as often used in an interactive Python session or as a library. > https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00456.html This is about wrapping (or not) using virtual envs. I don=E2=80=99t really= see how this relates to this problem, but maybe I=E2=80=99m missing something obvious. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net