bye sysconfig.get_paths
This commit is contained in:
parent
d9a153d410
commit
89978a0422
18
pep-0427.txt
18
pep-0427.txt
|
@ -75,9 +75,10 @@ Wheel installation notionally consists of two phases:
|
|||
there is data) ``distribution-1.0.data/``.
|
||||
b. Move each subtree of ``distribution-1.0.data/`` onto its
|
||||
destination path. Each subdirectory of ``distribution-1.0.data/``
|
||||
is a key into ``sysconfig.get_paths()``, such as
|
||||
``distribution-1.0.data/(config|purelib|platlib|scripts)``. See
|
||||
http://docs.python.org/dev/packaging/setupcfg.html#resources.
|
||||
is a key into a dict of destination directories, such as
|
||||
``distribution-1.0.data/(purelib|platlib|headers|scripts|data)``.
|
||||
The initially supported paths are taken from
|
||||
``distutils.command.install``.
|
||||
c. If applicable, update scripts starting with ``#!python`` to point
|
||||
to the correct interpreter.
|
||||
d. Update ``distribution-1.0.dist.info/RECORD`` with the installed
|
||||
|
@ -167,7 +168,7 @@ File contents
|
|||
#. If a .whl contains scripts, both purelib and platlib, or any other
|
||||
files that are not installed on ``sys.path``, they are found in
|
||||
``{distribution}-{version}.data/{key}``, where ``{key}`` is an
|
||||
index into ``sysconfig.get_paths()``.
|
||||
index into a dictionary of install paths.
|
||||
#. Wheel, being an installation format that is intended to work across
|
||||
multiple versions of Python, does not generally include .pyc files.
|
||||
#. Wheel does not contain setup.py or setup.cfg.
|
||||
|
@ -209,11 +210,10 @@ the .data directory, named as the .dist-info directory but with the
|
|||
|
||||
distribution-1.0.data/
|
||||
|
||||
The .data directory contains subdirectories named after the keys of
|
||||
``sysconfig.get_paths()``, and those subdirectories contain the
|
||||
scripts, headers, documentation and so forth from the distribution.
|
||||
During installation the contents of these subdirectories are moved
|
||||
onto their destination paths.
|
||||
The .data directory contains subdirectories and those subdirectories
|
||||
contain the scripts, headers, documentation and so forth from the
|
||||
distribution. During installation the contents of these subdirectories
|
||||
are moved onto their destination paths.
|
||||
|
||||
|
||||
Signed wheel files
|
||||
|
|
Loading…
Reference in New Issue