Skip to content

Commit 2341590

Browse files
committed
Address @pradyunsg's review
1 parent 3a90a88 commit 2341590

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

source/specifications/core-metadata.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ Name
7676
Added restrictions on format from the :ref:`name grammar <name-grammar>`.
7777

7878
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>`.
8081

8182
Example::
8283

source/specifications/name-normalization.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
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

1515
A valid name consists only of ASCII letters and numbers, period,
1616
underscore and hyphen. It must start and end with a letter or number.

0 commit comments

Comments
 (0)