@@ -150,10 +150,10 @@ this character cannot appear within any component. This is handled as follows:
150150- In distribution names, any run of ``-_. `` characters (HYPHEN-MINUS, LOW LINE
151151 and FULL STOP) should be replaced with ``_ `` (LOW LINE), and uppercase
152152 characters should be replaced with corresponding lowercase ones. This is
153- equivalent to regular :ref: `name normalization <name-normalization >` followed by replacing `` - `` with `` _ ``.
154- Tools consuming wheels must be prepared to accept `` . `` (FULL STOP) and
155- uppercase letters, however, as these were allowed by an earlier version of
156- this specification.
153+ equivalent to regular :ref: `name normalization <name-normalization >` followed
154+ by replacing `` - `` with `` _ ``. Tools consuming wheels must be prepared to accept
155+ `` . `` (FULL STOP) and uppercase letters, however, as these were allowed by an earlier
156+ version of this specification.
157157- Version numbers should be normalised according to the :ref: `Version specifier
158158 specification <version-specifiers>`. Normalised version numbers cannot contain ``- ``.
159159- The remaining components may not contain ``- `` characters, so no escaping
@@ -178,7 +178,8 @@ The contents of a wheel file, where {distribution} is replaced with the
178178:ref: `normalized name <name-normalization >` of the package, e.g.
179179``beaglevote `` and {version} is replaced
180180with its :ref: `normalized version <version-specifiers-normalization >`,
181- e.g. ``1.0.0 ``, (with dash (`- `) characters replaced with underscore (`_ `) characters in both fields) consist of:
181+ e.g. ``1.0.0 ``, (with dash/``- `` characters replaced with underscore/``_ `` characters
182+ in both fields) consist of:
182183
183184#. ``/ ``, the root of the archive, contains all files to be installed in
184185 ``purelib `` or ``platlib `` as specified in ``WHEEL ``. ``purelib `` and
@@ -442,6 +443,8 @@ History
442443 may vary between tools).
443444- December 2024: The :file: `.dist-info/licenses/ ` directory was specified through
444445 :pep: `639 `.
446+ - January 2025: Clarified that name and version needs to be normalized for
447+ ``.dist-info `` and ``.data `` directories.
445448
446449
447450Appendix
0 commit comments