On Sat, Apr 27, 2013 at 11:17 AM, Nick Coghlan <ncogh...@gmail.com> wrote:
> It's not especially pretty, but it's better than having to use
> os.listdir and rely on predefined file names.

For entry points at least, having a predefined file name is the
*entire point*: i.e. to allow the presence of entry points to be
detected without having to read the metadata.  If you have to read the
metadata to find the filename, then you have to read the whole
haystack (metadata for every package) to find the needles (the ones
that have entry points).
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to