New (optional) python egg dependency generator for RPM

Donald Stufft donald at stufft.io
Tue Nov 17 14:35:20 UTC 2015


> On Nov 17, 2015, at 9:26 AM, Neal Gompa <ngompa13 at gmail.com> wrote:
> 
> On Tue, Nov 17, 2015 at 8:34 AM, Donald Stufft <donald at stufft.io> wrote:
>> 
>>> On Nov 17, 2015, at 8:25 AM, Neal Gompa <ngompa13 at gmail.com> wrote:
>>> Is the format inside of the .dist-info directory the same as the older
>>> .egg-info and .egg-link directories? If so, it should be easy to add
>>> to read that information too.
>> 
>> Currently yes. In the future we’ll probably evolve it and then they’ll drift
>> apart. Part of doing that though will be defining a way to determine what
>> “version” of standard the directory is currently using (with the current version
>> being a not very well defined version 0 or something).
>> 
> 
> The dependency generator uses pkg_resources (specifically
> Distribution, FileMetadata, PathMetadata) to read data in the
> .egg-info directory. That should still work with .dist-info, right? If
> it does, then I can easily support it to read and parse the data. If
> there's something else I have to do, please let me know, so I can add
> it.
> 

That’s correct. There’s a EggInfoMetadata class and a DistInfoMetadata
class in pkg_resources.


-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.fedoraproject.org/pipermail/python-devel/attachments/20151117/54f38599/attachment.sig>


More information about the python-devel mailing list