@@ -21,6 +21,20 @@ out onto their final paths at any later time.
2121Details
2222=======
2323
24+ The example below uses ``distribution-1.0 `` as the distribution name and
25+ version in the archive's directory names. The ``distribution-1.0.dist-info/ ``
26+ directory contains metadata, including the ``WHEEL `` file that describes the
27+ archive. The optional ``distribution-1.0.data/ `` directory groups files that
28+ need a different destination from the archive root, such as scripts, into
29+ subdirectories named for their destinations.
30+
31+ An installation scheme maps keys to directories in the target Python
32+ environment. Two :ref: `installation path keys <python:installation_paths >`
33+ are ``purelib `` for platform-independent package files and ``platlib `` for
34+ platform-specific package files. These keys can point to the same directory,
35+ usually ``site-packages ``. The ``Root-Is-Purelib `` field in ``WHEEL `` tells
36+ the installer which key to use for the archive root.
37+
2438Installing a wheel 'distribution-1.0-py32-none-any.whl'
2539-------------------------------------------------------
2640
@@ -43,8 +57,6 @@ Wheel installation notionally consists of two phases:
4357 destination path. Each subdirectory of ``distribution-1.0.data/ ``
4458 is a key into a dict of destination directories, such as
4559 ``distribution-1.0.data/(purelib|platlib|headers|scripts|data) ``.
46- These subdirectories are :ref: `installation paths defined by sysconfig
47- <python:installation_paths>`.
4860 c. If applicable, update scripts starting with ``#!python `` to point
4961 to the correct interpreter.
5062 d. Update ``distribution-1.0.dist-info/RECORD `` with the installed
0 commit comments