Am Samstag, den 22.10.2016, 20:05 +0100 schrieb Sérgio Basto: > On Sáb, 2016-10-22 at 20:39 +0200, Björn > > Hello together, > > > > can someone point me to the part of the Python packaging > > guidelines, > > which explicitly says .egg-info *MUST* be removed before build? > > > https://fedoraproject.org/wiki/Packaging:Python_Eggs#Upstream_Egg_Pac > kages Well, I'm sorry, but this does not answer my question… The cited guideline says: > Do not distribute egg packages from upstream. I agree with that, but that is not the case for a tarball from PyPi containing a '%{pypi_name}.egg-info'-folder. This is about pre-built, specificly to the a certain Python-version (and in most cases operating system and binary-arch), '%{pypi_name}-%{version}.egg'-files distributed on PyPi… > In Fedora, all packages must be rebuilt from source. An egg package > (which is different from egg metadata) contains compiled bytecode and > may, if it contains a C extension, contain compiled binary extensions > as well. Here the guideline distinguishes between a pre-built *.egg-file and egg-metadata (*.egg-info-folder). I cannot find anything saying it is required to remove the egg-metadata (.egg-info) before building the sources; it isn't even mentioned in the common sample spec-file [1]… [1] https://fedoraproject.org/w/index.php?title=Packaging:Python#Examp le_common_spec_file _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx