File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,14 @@ backwards compatibility considerations.
3434The .dist-info directory
3535========================
3636
37- Each project installed from a distribution shall , in addition to files,
38- install a "``.dist-info ``" directory located alongside Importable modules and
37+ Each project installed from a distribution must , in addition to files,
38+ install a "``.dist-info ``" directory located alongside importable modules and
3939packages (commonly, the ``site-packages `` directory).
4040
4141This directory is named as ``{name}-{version}.dist-info ``, with `name ` and
4242`version ` fields corresponding to :ref: `core-metadata `.
43+ The name field must be in normalized form (see `PEP 503 <https://www.python.org/dev/peps/pep-0503/#normalized-names >`_
44+ for the definition of normalization).
4345
4446This ``.dist-info `` directory can contain these files, described in detail
4547below:
@@ -73,7 +75,7 @@ specification, version 1.1 or greater.
7375
7476The ``METADATA `` file is mandatory.
7577If it cannot be created, or if required core metadata is not available,
76- no `` .dist-info `` directory should be created at all .
78+ installers must report an error and fail to install the project .
7779
7880
7981The RECORD file
You can’t perform that action at this time.
0 commit comments