fix env vars before install (#14575)
This commit is contained in:
parent
d524abad20
commit
c607288a7c
@ -212,6 +212,9 @@ def setup_build_environment(self, env):
|
|||||||
# Need this to allow python build to find the Python installation.
|
# Need this to allow python build to find the Python installation.
|
||||||
env.set('MACOSX_DEPLOYMENT_TARGET', platform.mac_ver()[0])
|
env.set('MACOSX_DEPLOYMENT_TARGET', platform.mac_ver()[0])
|
||||||
|
|
||||||
|
env.unset('PYTHONPATH')
|
||||||
|
env.unset('PYTHONHOME')
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
config_args = []
|
config_args = []
|
||||||
|
Loading…
Reference in New Issue
Block a user