Andreas Enge <andr...@enge.fr> 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’.