diff options
author | 2018-10-29 22:48:35 -0700 | |
---|---|---|
committer | 2018-10-29 22:48:35 -0700 | |
commit | 7502a2311a42da20242b8adb724173018fa14a2e (patch) | |
tree | 35e8db6b3aa0dab7c68c15d048bb8678f04669cf /src/python | |
parent | 688db0ec5b7f05e9d8e51b64a08a285c0debc726 (diff) |
Try cleaner separation
* reduce possible contamination of environment variables
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/grpcio/commands.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index 62c74c8e0a..70d5c5dd35 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -277,11 +277,11 @@ class BuildExt(build_ext.build_ext): # Ensure the BoringSSL are built instead of using system provided # libraries. It prevents dependency issues while distributing to # Mac users who use MacPorts to manage their libraries. #17002 - env = os.environ.copy() - env['HAS_SYSTEM_OPENSSL_ALPN'] = '0' + mod_env = dict(os.environ) + mod_env['HAS_SYSTEM_OPENSSL_ALPN'] = '0' make_process = subprocess.Popen( ['make'] + extra_defines + targets, - # env=env, + env=mod_env, stdout=subprocess.PIPE, stderr=subprocess.PIPE) make_out, make_err = make_process.communicate() |