[Distutils] pkg_resources get_distribution - zipfile support?

Paul Moore p.f.moore at gmail.com
Tue Oct 1 23:11:44 CEST 2013


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?
Paul


More information about the Distutils-SIG mailing list