diff options
-rw-r--r-- | distutils/command/install.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py index 026c609a..0db71e94 100644 --- a/distutils/command/install.py +++ b/distutils/command/install.py @@ -93,7 +93,11 @@ def _load_schemes(): try: import sysconfig - schemes.update(sysconfig.INSTALL_SCHEMES) + sysconfig_schemes = { + scheme: sysconfig.get_paths(scheme, expand=False) + for scheme in sysconfig.get_scheme_names() + } + schemes.update(sysconfig_schemes) except (ImportError, AttributeError): pass |