Skip to content

Commit

Permalink
Have sdists normalize the version in the file name (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Mar 29, 2022
1 parent d00c7c9 commit e59950e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/specifications/source-distribution-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Source distribution file name
The file name of a sdist is not currently standardised, although the *de facto*
form is ``{name}-{version}.tar.gz``, where ``{name}`` is the canonicalized form
of the project name (see :pep:`503` for the canonicalization rules) with ``-``
characters replaced with ``_``, and ``{version}`` is the project version.
characters replaced with ``_``, and ``{version}`` is the canonicalized form of
the project version (see :ref:`version-specifiers`).

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

0 comments on commit e59950e

Please sign in to comment.