Daniel Holth avatar Daniel Holth committed 29c3c4e

bye sysconfig.get_paths

Comments (0)

Files changed (1)

      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
 #. 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.
 
     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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.