A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-August/121485.html below:

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

[Python-Dev] Edits to Metadata 1.2 to add extras (optional dependencies) [Python-Dev] Edits to Metadata 1.2 to add extras (optional dependencies)Nick Coghlan ncoghlan at gmail.com
Tue Aug 28 15:09:20 CEST 2012
On Tue, Aug 28, 2012 at 10:57 PM, Daniel Holth <dholth at gmail.com> wrote:
> How about
>
> Extensions are fields that start with a pypi-registered name followed
> by a hyphen. A file that contains extension fields declares them with
> Extension: name :
>
> Extension: pypiname
> pypiname-Field: value

The repetition seems rather annoying. Compare the two section based
variants I just posted to:

    Extension: wheel
    wheel-Version: 0.9
    wheel-Packager: bdist_wheel-0.1
    wheel-Root-Is-Purelib: true

It does have the advantage that tools for manipulating the format can
remain dumber, but that doesn't seem like *that* much of an advantage,
especially since any such benefit could be eliminated completely by
just switching to a completely standard ConfigParser format by putting
the PEP defined settings into a [python] section.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4