From c0839b14d5215163f5f15a373a0d87363c219638 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 18 Sep 2021 19:37:50 -0500 Subject: Python: use platform-specific site packages dir (#25998) --- lib/spack/spack/build_systems/python.py | 2 +- lib/spack/spack/build_systems/sip.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2