diff options
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 12b77813d1..c5f0f23d6d 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -531,6 +531,8 @@ class Python(AutotoolsPackage): module.site_packages_dir = join_path(dependent_spec.prefix, self.site_packages_dir) + self.spec.home = self.home + # Make the site packages directory for extensions if dependent_spec.package.is_extension: mkdirp(module.site_packages_dir) |