diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-18 12:12:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 12:12:08 -0500 |
commit | fa90a65d0964bbaaea4f267d5634c0410e0c773e (patch) | |
tree | ca39697cd2ea2d24f1b188e2a14ee04c11f6d067 | |
parent | 5486d021d686f256a008dd9ab90dfb5b9fa60967 (diff) | |
download | spack-fa90a65d0964bbaaea4f267d5634c0410e0c773e.tar.gz spack-fa90a65d0964bbaaea4f267d5634c0410e0c773e.tar.bz2 spack-fa90a65d0964bbaaea4f267d5634c0410e0c773e.tar.xz spack-fa90a65d0964bbaaea4f267d5634c0410e0c773e.zip |
Fix spec['python'].home (#4228)
-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) |