Skip to content

Commit f14dab6

Browse files
authored
Clearly specify that the name and version should be normalized for .dist-info and .data directories in wheels
It's implied by https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-dist-info-directory as the resulting directory upon unpacking is supposed to be normalized.
1 parent 11f13d0 commit f14dab6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,10 @@ File contents
175175
'''''''''''''
176176

177177
The contents of a wheel file, where {distribution} is replaced with the
178-
name of the package, e.g. ``beaglevote`` and {version} is replaced with
179-
its version, e.g. ``1.0.0``, consist of:
178+
:ref:`normalized name <name-normalization>` of the package, e.g.
179+
``beaglevote`` and {version} is replaced
180+
with its :ref:`normalized version <version-specifiers-normalization>`,
181+
e.g. ``1.0.0``, consist of:
180182

181183
#. ``/``, the root of the archive, contains all files to be installed in
182184
``purelib`` or ``platlib`` as specified in ``WHEEL``. ``purelib`` and

0 commit comments

Comments
 (0)