diff options
author | Sajid Ali <30510036+s-sajid-ali@users.noreply.github.com> | 2020-02-13 20:16:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 20:16:34 -0600 |
commit | c607288a7c9a63d6b36b455b9c99142546050398 (patch) | |
tree | 7704b442bded1945ac1b23351d5e975dcac9f48b | |
parent | d524abad20c17ddeb1031b803eeefa78928610de (diff) | |
download | spack-c607288a7c9a63d6b36b455b9c99142546050398.tar.gz spack-c607288a7c9a63d6b36b455b9c99142546050398.tar.bz2 spack-c607288a7c9a63d6b36b455b9c99142546050398.tar.xz spack-c607288a7c9a63d6b36b455b9c99142546050398.zip |
fix env vars before install (#14575)
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 37d65c54c0..978548163b 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -212,6 +212,9 @@ class Python(AutotoolsPackage): # Need this to allow python build to find the Python installation. env.set('MACOSX_DEPLOYMENT_TARGET', platform.mac_ver()[0]) + env.unset('PYTHONPATH') + env.unset('PYTHONHOME') + def configure_args(self): spec = self.spec config_args = [] |