[Distutils] pkg_resources get_distribution - zipfile support?

Nick Coghlan ncoghlan at gmail.com
Wed Oct 2 01:10:44 CEST 2013


On 2 Oct 2013 07:12, "Paul Moore" <p.f.moore at gmail.com> wrote:
>
> On 1 October 2013 21:32, PJ Eby <pje at telecommunity.com> wrote:
> > On Tue, Oct 1, 2013 at 1:51 PM, Daniel Holth <dholth at gmail.com> wrote:
> >> pkg_resources only finds distributions inside .egg and inside sys.path
> >> entries that are filesystem directories.
> >
> > Actually it looks in zipfiles (or subdirectory paths thereof) or
> > filesystem directories, and can spot zipfile subdirectories named
> > '.egg' inside zipfiles (or subdirectories thereof).
>
> But not dist-info? I thought setuptools supported dist-info formats
> these days. Is this somewhere that got missed? Or is it more subtle
> than that?

I believe it's not recognising "*.whl" as interesting, so it isn't even
looking inside the nested wheel to check for dist-info.

Cheers,
Nick.

> Paul
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131002/42e587b1/attachment-0001.html>


More information about the Distutils-SIG mailing list