PEP 566: Updates (#574)

* PEP 566: Change to .rst extension

* PEP 566: Allow description in message body
This commit is contained in:
Dustin Ingram 2018-02-18 02:02:14 -06:00 committed by Nick Coghlan
parent 3f1e6f40c2
commit 598d5cbfd3
1 changed files with 10 additions and 0 deletions

View File

@ -81,6 +81,14 @@ Name
The specification for the format of this field is now identical to the The specification for the format of this field is now identical to the
distribution name specification defined in PEP 508. distribution name specification defined in PEP 508.
Description
:::::::::::
In addition to the ``Description`` header field, the distribution's
description may instead be provided in the message body (i.e., after a
completely blank line following the headers, with no indentation or other
special formatting necessary).
Version Specifiers Version Specifiers
================== ==================
@ -124,6 +132,8 @@ as follows:
single list containing all the original values for the given key; single list containing all the original values for the given key;
#. The ``Keywords`` field should be converted to a list by splitting the #. The ``Keywords`` field should be converted to a list by splitting the
original value on whitespace characters; original value on whitespace characters;
#. The message body, if present, should be set to the value of the
``description`` key.
#. The result should be stored as a string-keyed dictionary. #. The result should be stored as a string-keyed dictionary.
Summary of Differences From PEP 345 Summary of Differences From PEP 345