File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 7878# dll_base_address later in this file...
7979dll_base_address = 0x1E200000
8080
81- # Same as setuptools._distutils.compilers.C.msvc._vcvars_names
82- _vcvars_names = {
83- "win32" : "x86" ,
84- "win-amd64" : "amd64" ,
85- "win-arm32" : "arm" ,
86- "win-arm64" : "arm64" ,
87- }
88-
8981
9082class WinExt (Extension ):
9183 # Base class for all win32 extensions, with some predefined
@@ -371,7 +363,7 @@ class my_build_ext(build_ext):
371363 def finalize_options (self ):
372364 build_ext .finalize_options (self )
373365
374- self .plat_dir = _vcvars_names . get ( self .plat_name , "x86" )
366+ self .plat_dir = "x86" if self .plat_name == "win32" else self . plat_name [ 4 :]
375367
376368 # The pywintypes library is created in the build_temp
377369 # directory, so we need to add this to library_dirs
You can’t perform that action at this time.
0 commit comments