From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20765: Compressed eggs (Python) Date: Wed, 06 Apr 2016 22:52:04 +0200 Message-ID: <87oa9m4g0b.fsf_-_@gnu.org> References: <87zj4btfuo.fsf@gnu.org> <20160209045442.GA29136@jasmine> <87oabppnts.fsf@gnu.org> <20160406181724.GA18933@bugis> 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]:37239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anuRm-0001dc-S0 for bug-guix@gnu.org; Wed, 06 Apr 2016 16:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anuRi-0006BW-R1 for bug-guix@gnu.org; Wed, 06 Apr 2016 16:53:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anuRi-0006BS-NJ for bug-guix@gnu.org; Wed, 06 Apr 2016 16:53:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160406181724.GA18933@bugis> (Andreas Enge's message of "Wed, 6 Apr 2016 20:17:24 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 20765@debbugs.gnu.org Andreas Enge skribis: > Spending a week with Python wizards, I asked around and got the following > advice, implemented in the package as > #:configure-flags '("--single-version-externally-managed" "--root=3D/") Woow, I wouldn=E2=80=99t have guessed that this has something to do with .e= gg compression. :-) > Our Python build system adds these flags only to the install phase. > > We could do this automatically in our Python build system, but we would > need to make sure to add these flags only when python-setuptools or > python2-setuptools are part of the input, since the flags are not recogni= sed > by the setup.py from distutils. OK. If the above flags do the trick, then why not. The difficulty will be to find a nice way to determine whether those flags can be passed. > Another advice was to replace the call to "python setup.py install" > by "pip install .", which apparently is becoming the standard approach > of installing Python packages, not only over the Internet, but also local= ly > (for which the "." stands). Dunno, but that=E2=80=99s a different story. :-) Thanks! Ludo=E2=80=99.