File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 Added restrictions on format from the :ref: `name grammar <name-grammar >`.
7777
7878The name of the distribution. The name field is the primary identifier for a
79- distribution. It must conform to the :ref: `package name grammar <name-grammar >`.
79+ distribution. It must conform to the :ref: `name format specification
80+ <name-format>`.
8081
8182Example::
8283
Original file line number Diff line number Diff line change 1- ======================================
2- Package name grammar and normalization
3- ======================================
1+ =======================
2+ Names and normalization
3+ =======================
44
5- Project names obey a restricted format, and are "normalized" for use in various
6- contexts. This document describes what the valid project names are, and how
7- project names should be normalized .
5+ This specification defines the format that names for packages and extras are
6+ required to follow. It also describes how to normalize them, which should be
7+ done before lookups and comparisons .
88
99
10- .. _name-grammar :
10+ .. _name-format :
1111
12- Name grammar
13- ============
12+ Name format
13+ ===========
1414
1515A valid name consists only of ASCII letters and numbers, period,
1616underscore and hyphen. It must start and end with a letter or number.
You can’t perform that action at this time.
0 commit comments