File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 76
76
Added restrictions on format from the :ref: `name grammar <name-grammar >`.
77
77
78
78
The 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>`.
80
81
81
82
Example::
82
83
Original file line number Diff line number Diff line change 1
- ======================================
2
- Package name grammar and normalization
3
- ======================================
1
+ =======================
2
+ Names and normalization
3
+ =======================
4
4
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 .
8
8
9
9
10
- .. _name-grammar :
10
+ .. _name-format :
11
11
12
- Name grammar
13
- ============
12
+ Name format
13
+ ===========
14
14
15
15
A valid name consists only of ASCII letters and numbers, period,
16
16
underscore and hyphen. It must start and end with a letter or number.
You can’t perform that action at this time.
0 commit comments