diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-09-18 19:37:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 00:37:50 +0000 |
commit | c0839b14d5215163f5f15a373a0d87363c219638 (patch) | |
tree | d567c4ab24c67203da06c1829c05d87d22af5164 /lib | |
parent | 6ff5795342d53f02413364e9f04e47ef2e501e1f (diff) | |
download | spack-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 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/python.py | 2 | ||||
-rw-r--r-- | lib/spack/spack/build_systems/sip.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py index c3bf323d84..fd772acfbb 100644 --- a/lib/spack/spack/build_systems/python.py +++ b/lib/spack/spack/build_systems/python.py @@ -129,7 +129,7 @@ class PythonPackage(PackageBase): modules = [] root = os.path.join( self.prefix, - self.spec['python'].package.config_vars['python_lib']['false']['false'], + self.spec['python'].package.config_vars['python_lib']['true']['false'], ) # Some Python libraries are packages: collections of modules diff --git a/lib/spack/spack/build_systems/sip.py b/lib/spack/spack/build_systems/sip.py index 1b9d01fbf4..d40be9d3c9 100644 --- a/lib/spack/spack/build_systems/sip.py +++ b/lib/spack/spack/build_systems/sip.py @@ -66,7 +66,7 @@ class SIPPackage(PackageBase): modules = [] root = os.path.join( self.prefix, - self.spec['python'].package.config_vars['python_lib']['false']['false'], + self.spec['python'].package.config_vars['python_lib']['true']['false'], ) # Some Python libraries are packages: collections of modules |