Python: use platform-specific site packages dir (#25998)
This commit is contained in:
@@ -129,7 +129,7 @@ def import_modules(self):
|
||||
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
|
||||
|
@@ -66,7 +66,7 @@ def import_modules(self):
|
||||
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
|
||||
|
Reference in New Issue
Block a user