From 2b5c0518cab2558565b7435a75a627e2d5e31998 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sat, 27 Jan 2018 14:50:30 +1000 Subject: [PATCH] #95: Link to PyPI's list of classifiers - added a link to PyPI's list of classifers - updated the PEP 301 reference to be a regular hyperlink - hyperlinked the cross reference from License to Classifier --- source/specifications/core-metadata.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/specifications/core-metadata.rst b/source/specifications/core-metadata.rst index 994640b45..2e0b90560 100644 --- a/source/specifications/core-metadata.rst +++ b/source/specifications/core-metadata.rst @@ -336,7 +336,8 @@ License (optional) Text indicating the license covering the distribution where the license is not a selection from the "License" Trove classifiers. See -"Classifier" below. This field may also be used to specify a +:ref:`"Classifier" ` below. +This field may also be used to specify a particular version of a licencse which is named via the ``Classifier`` field, or to indicate a variation or exception to such a license. @@ -349,13 +350,17 @@ Examples:: License: GPL version 3, excluding DRM provisions +.. _metadata_classifier: + Classifier (multiple use) ========================= .. versionadded:: 1.1 Each entry is a string giving a single classification value -for the distribution. Classifiers are described in PEP 301 [3]_. +for the distribution. Classifiers are described in :pep:`301`, +and the Python Package Index publishes a dynamic list of +`currently defined classifiers `__. This field may be followed by an environment marker after a semicolon. @@ -574,6 +579,3 @@ It is legal to specify ``Provides-Extra:`` without referencing it in any .. [2] RFC 822 Long Header Fields: http://www.freesoft.org/CIE/RFC/822/7.htm - -.. [3] PEP 301, Package Index and Metadata for Distutils: - http://www.python.org/dev/peps/pep-0301/