|
23 | 23 | HAS_USER_SITE = (USER_SITE is not None)
|
24 | 24 |
|
25 | 25 | # The keys to an installation scheme; if any new types of files are to be
|
26 |
| -# installed, be sure to add an entry to every installation scheme above, |
27 |
| -# and to SCHEME_KEYS here. |
| 26 | +# installed, be sure to add an entry to every scheme in |
| 27 | +# sysconfig._INSTALL_SCHEMES, and to SCHEME_KEYS here. |
28 | 28 | SCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data')
|
29 | 29 |
|
30 | 30 | # The following code provides backward-compatible INSTALL_SCHEMES
|
31 | 31 | # while making the sysconfig module the single point of truth.
|
32 | 32 | # This makes it easier for OS distributions where they need to
|
33 |
| -# alter locations for packages installations on single place. |
34 |
| -# This module is depracated anyway (PEP 632) so if anything |
35 |
| -# doesn't work for you, take a look at sysconfig. |
| 33 | +# alter locations for packages installations in a single place. |
| 34 | +# Note that this module is depracated (PEP 632); all consumers |
| 35 | +# of this information should switch to using sysconfig directly. |
36 | 36 | INSTALL_SCHEMES = {"unix_prefix": {}, "unix_home": {}, "nt": {}}
|
37 | 37 |
|
38 | 38 | # Copy from sysconfig._INSTALL_SCHEMES
|
|
58 | 58 | value = value.replace("/lib/", "/$platlibdir/")
|
59 | 59 | INSTALL_SCHEMES[main_key][key] = value
|
60 | 60 |
|
61 |
| -# The following part of INSTALL_SCHEMES has different definition |
62 |
| -# that the one in sysconfig but because both depends on site module |
| 61 | +# The following part of INSTALL_SCHEMES has a different definition |
| 62 | +# than the one in sysconfig, but because both depend on the site module, |
63 | 63 | # the outcomes should be the same.
|
64 | 64 | if HAS_USER_SITE:
|
65 | 65 | INSTALL_SCHEMES['nt_user'] = {
|
|
0 commit comments