[Python-checkins] peps: bye sysconfig.get_paths
daniel.holth
python-checkins at python.org
Tue Oct 16 04:23:02 CEST 2012
http://hg.python.org/peps/rev/29c3c4ed67c6
changeset: 4553:29c3c4ed67c6
user: Daniel Holth <dholth at fastmail.fm>
date: Mon Oct 15 22:22:51 2012 -0400
summary:
bye sysconfig.get_paths
files:
pep-0427.txt | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/pep-0427.txt b/pep-0427.txt
--- a/pep-0427.txt
+++ b/pep-0427.txt
@@ -75,9 +75,10 @@
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 @@
#. 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 @@
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
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list