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

R. David Murray rdmurray at bitdance.com
Fri Aug 31 14:41:19 CEST 2012


On Fri, 31 Aug 2012 07:01:17 -0400, Daniel Holth <dholth at gmail.com> wrote:
> On Aug 31, 2012, at 6:54 AM, Donald Stufft <donald.stufft at gmail.com> wrote:
> > Unless i'm mistaken (which I may be!) I believe that a / can be used as
> > the separator between the namespace and the "real" key.
> > 
> > Home-page: http://www.python.org
> > Extension: Home
> > Home/other-thing: Foo
> > 
> 
> Not bad.
> 
> > Doing this is the "Extension" field required?
> 
> Yes it is required. A simple lookup for data ['extension'] tells you what to expect.

It also allows for typo detection, which automatically interpreting
prefix strings as extensions names would not.

--
R. David Murray

If you like the work I do for Python, you can enable me to spend more
time doing it by supporting me here:  http://gittip.com/bitdancer


More information about the Python-Dev mailing list