From 1e476005614feca6f6ab0de76bf61b8d4ae28eb4 Mon Sep 17 00:00:00 2001 From: Fabio Zadrozny Date: Wed, 31 Jan 2024 16:13:59 -0300 Subject: [PATCH] Fix manylinux build --- build_tools/build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_tools/build.py b/build_tools/build.py index 8a8bfe94..53199c71 100644 --- a/build_tools/build.py +++ b/build_tools/build.py @@ -98,7 +98,7 @@ def build(): os.chdir(root_dir) - env = None + env = os.environ.copy() if sys.platform == 'win32': # "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" # set MSSdk=1 @@ -106,7 +106,6 @@ def build(): # set VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools if 'GITHUB_ACTION' not in os.environ: - env = os.environ.copy() if sys.version_info[:2] in ((3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12)): FORCE_PYDEVD_VC_VARS = os.environ.get('FORCE_PYDEVD_VC_VARS') if FORCE_PYDEVD_VC_VARS: