summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-09-18 19:37:50 -0500
committerGitHub <noreply@github.com>2021-09-19 00:37:50 +0000
commitc0839b14d5215163f5f15a373a0d87363c219638 (patch)
treed567c4ab24c67203da06c1829c05d87d22af5164 /var
parent6ff5795342d53f02413364e9f04e47ef2e501e1f (diff)
downloadspack-c0839b14d5215163f5f15a373a0d87363c219638.tar.gz
spack-c0839b14d5215163f5f15a373a0d87363c219638.tar.bz2
spack-c0839b14d5215163f5f15a373a0d87363c219638.tar.xz
spack-c0839b14d5215163f5f15a373a0d87363c219638.zip
Python: use platform-specific site packages dir (#25998)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/python/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py
index 994578cffb..e1e504bb60 100644
--- a/var/spack/repos/builtin/packages/python/package.py
+++ b/var/spack/repos/builtin/packages/python/package.py
@@ -892,7 +892,7 @@ for plat_specific in [True, False]:
str: site-packages directory
"""
try:
- return self.config_vars['python_lib']['false']['false']
+ return self.config_vars['python_lib']['true']['false']
except KeyError:
return self.default_site_packages_dir