fix env vars before install (#14575)

This commit is contained in:
Sajid Ali
2020-02-13 20:16:34 -06:00
committed by GitHub
parent d524abad20
commit c607288a7c

View File

@@ -212,6 +212,9 @@ def setup_build_environment(self, env):
# 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 = []