python packaging

Jakub Bogusz qboosh at pld-linux.org
Wed Jun 29 20:44:44 CEST 2016


On Tue, Jun 28, 2016 at 10:28:09PM +0200, Jakub Bogusz wrote:
> On Mon, Jun 27, 2016 at 02:10:59PM +0300, Elan Ruusamäe wrote:
> > On 20.06.2016 15:58, Elan Ruusamäe wrote:
> > >
> > >1. egg name
> > >2. python module name [*]
> > >3. upstream tarball name
> > >4. pld own convention
> > >
> > >[*] this is said to be the recommendation in template-specs 
> > 
> > oh, one more! the egg filename and egg name also may mismatch:
> > 
> > ??? rpm -q python-Levenshtein -l |grep egg
> > /usr/lib64/python2.7/site-packages/python_Levenshtein-0.10-py2.7.egg-info
> > 
> > ??? rpm -q python-Levenshtein --provides |grep egg
> > pythonegg(python-levenshtein) = 0.10
> 
> It seems that pythonegg provides are lowercased.
> (to be verified in rpm .prov script, no time atm.)

rpm pythoneggs script relies on Distribution.key property, which is (in
Python pkg_resources system module) equal to lowercase 'name' egg
field.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list