diff options
| author | Miro HronĨok <miro@hroncok.cz> | 2021-11-24 13:28:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-24 13:28:58 +0100 |
| commit | 81d6300d60c59cea05a6dfe9a513ced61b901f4c (patch) | |
| tree | bb0624e04c9cf2ff87bda525c359ea45e0731a23 /distutils/command | |
| parent | 8c64fdc8560d9f7b7d3926350bba7702b0906329 (diff) | |
| download | python-setuptools-git-81d6300d60c59cea05a6dfe9a513ced61b901f4c.tar.gz | |
Load _prefix_addition attribute directly from sysconfig
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'distutils/command')
| -rw-r--r-- | distutils/command/install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py index 583b1713..d648dd18 100644 --- a/distutils/command/install.py +++ b/distutils/command/install.py @@ -191,7 +191,7 @@ class install(Command): negative_opt = {'no-compile' : 'compile'} # Allow Fedora to add components to the prefix - _prefix_addition = "" + _prefix_addition = getattr(sysconfig, '_prefix_addition', "") def initialize_options(self): """Initializes options.""" |
