Skip to content

Commit e59950e

Browse files
authored
Have sdists normalize the version in the file name (pypa#1066)
1 parent d00c7c9 commit e59950e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/specifications/source-distribution-format.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ Source distribution file name
3636
The file name of a sdist is not currently standardised, although the *de facto*
3737
form is ``{name}-{version}.tar.gz``, where ``{name}`` is the canonicalized form
3838
of the project name (see :pep:`503` for the canonicalization rules) with ``-``
39-
characters replaced with ``_``, and ``{version}`` is the project version.
39+
characters replaced with ``_``, and ``{version}`` is the canonicalized form of
40+
the project version (see :ref:`version-specifiers`).
4041

4142
The name and version components of the filename MUST match the values stored
4243
in the metadata contained in the file.

0 commit comments

Comments
 (0)