On Sun, Aug 21, 2016 at 8:28 AM, Nick Coghlan <ncogh...@gmail.com> wrote: > On 21 August 2016 at 01:13, Igor Gnatenko <ignate...@redhat.com> wrote: >> $ cat /usr/lib/python3.5/site-packages/Flask.egg-link >> /builddir/build/BUILD/python3-python-flask-0.10.1-9.fc25 >> . >> >> I think we should exclude all egg-links from distribution.. > > +1 - if these show up, it's likely to be due to a call to "pip -e" or > "setup.py develop", and those kinds of operations shouldn't be used as > part of an RPM build. > >> Also >> question comes what we should do from RPM generator. >> Neal proposed for now to just skip it[0].. >> >> [0] https://github.com/rpm-software-management/rpm/pull/80 > > Is that the PR you intended to link? It doesn't seem to be related to > the problem of .egg-link files appearing in the RPM contents. It is. Think is that once you use pkg_resources.Distribution.from_location() on egg-link file it returns object, but obj.py_version returns None (though it shows warning that it can't read version from egg-link file). > > Cheers, > Nick. > > -- > Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia > _______________________________________________ > python-devel mailing list > python-devel@lists.fedoraproject.org > https://lists.fedoraproject.org/admin/lists/python-devel@lists.fedoraproject.org
-- -Igor Gnatenko _______________________________________________ python-devel mailing list python-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/python-devel@lists.fedoraproject.org