[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20765: Compressed eggs (Python)
From: |
Ludovic Courtès |
Subject: |
bug#20765: Compressed eggs (Python) |
Date: |
Wed, 06 Apr 2016 22:52:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Enge <address@hidden> 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=/")
Woow, I wouldn’t have guessed that this has something to do with .egg
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 recognised
> 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 locally
> (for which the "." stands).
Dunno, but that’s a different story. :-)
Thanks!
Ludo’.