[Distutils] Environment marker expression types

PJ Eby pje at telecommunity.com
Sat Apr 27 19:11:35 CEST 2013


On Sat, Apr 27, 2013 at 11:17 AM, Nick Coghlan <ncoghlan at 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).


More information about the Distutils-SIG mailing list