Skip to content

Commit 311b358

Browse files
committed
Fix details of sdist name format
1 parent 67c57a0 commit 311b358

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/specifications/source-distribution-format.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Source distribution file name
2424

2525
The file name of a sdist is not currently standardised, although the *de facto*
2626
form is ``{name}-{version}.tar.gz``, where ``{name}`` is the canonicalized form
27-
of the project name (see :pep:`503` for the canonicalization rules) and
28-
``{version}`` is the project version.
27+
of the project name (see :pep:`503` for the canonicalization rules) with ``-``
28+
characters replaced with ``_``, and ``{version}`` is the project version.
2929

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

0 commit comments

Comments
 (0)