[Python-Dev] Edits to Metadata 1.2 to add extras (optional dependencies)

Nick Coghlan ncoghlan at gmail.com
Tue Aug 28 13:45:09 CEST 2012


On Tue, Aug 28, 2012 at 9:04 PM, Daniel Holth <dholth at gmail.com> wrote:
> Setuptools just uses path.exists() when it needs a particular file and will not bother parsing pkg-info at all if it can help it. The metadata edits for 1.2 fold some of those files into metadata.

You can't use path.exists() on metadata published by a webservice (or
still inside a zipfile), but you can download or read the main
metadata file.

Still, I don't really care whether or not such a field indicating the
presence of custom metadata is added, I'm mainly registering a strong
-1 on allowing extension fields (in the form of X- headers or CSS
style prefixed headers) in the metadata file itself.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list