> On Nov 17, 2015, at 9:26 AM, Neal Gompa <ngomp...@gmail.com> wrote: > > On Tue, Nov 17, 2015 at 8:34 AM, Donald Stufft <don...@stufft.io> wrote: >> >>> On Nov 17, 2015, at 8:25 AM, Neal Gompa <ngomp...@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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel