Skip to content

Commit

Permalink
Fix manylinux build
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jan 31, 2024
1 parent 0789fa3 commit 1e47600
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,14 @@ 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
# set DISTUTILS_USE_SDK=1
# 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:
Expand Down

0 comments on commit 1e47600

Please sign in to comment.