Skip to content

Commit

Permalink
chore: fix windows build (#106)
Browse files Browse the repository at this point in the history
setuptools broken compat, see pypa/setuptools#4600

Release-As: 6.0.2
  • Loading branch information
ovesh authored Nov 5, 2024
1 parent 2dbb151 commit e1754c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/c_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ def _compile_obj(obj):


if sys.platform == "win32":
import distutils.msvccompiler
import distutils._msvccompiler
import distutils.msvc9compiler
distutils.msvccompiler.MSVCCompiler.compile = windows_parallel_ccompile
distutils._msvccompiler.MSVCCompiler.compile = windows_parallel_ccompile
distutils.msvc9compiler.MSVCCompiler.compile = windows_parallel_ccompile
else:
distutils.ccompiler.CCompiler.compile = gcc_parallel_ccompile

0 comments on commit e1754c7

Please sign in to comment.