Skip to content

Commit 6d4efbc

Browse files
committed
Say that distribution names should be lowercase in wheel filenames
1 parent 295f112 commit 6d4efbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ As the components of the filename are separated by a dash (``-``, HYPHEN-MINUS),
159159
this character cannot appear within any component. This is handled as follows:
160160

161161
- In distribution names, any run of ``-_.`` characters (HYPHEN-MINUS, LOW LINE
162-
and FULL STOP) should be replaced with ``_`` (LOW LINE). This is equivalent
163-
to :pep:`503` normalisation followed by replacing ``-`` with ``_``.
162+
and FULL STOP) should be replaced with ``_`` (LOW LINE), and uppercase
163+
characters should be replaced with corresponding lowercase ones. This is
164+
equivalent to :pep:`503` normalisation followed by replacing ``-`` with ``_``.
164165
- Version numbers should be normalised according to :pep:`440`. Normalised
165166
version numbers cannot contain ``-``.
166167
- The remaining components may not contain ``-`` characters, so no escaping

0 commit comments

Comments
 (0)