Skip to content

Commit

Permalink
#95: Link to PyPI's list of classifiers
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
ncoghlan authored Jan 27, 2018
1 parent f0c57d6 commit 2b5c051
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions source/specifications/core-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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" <metadata-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.

Expand All @@ -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 <https://pypi.python.org/pypi?%3Aaction=list_classifiers>`__.

This field may be followed by an environment marker after a semicolon.

Expand Down Expand Up @@ -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/

0 comments on commit 2b5c051

Please sign in to comment.