setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887)

This commit is contained in:
Avasam
2024-10-24 05:44:55 -04:00
committed by GitHub
parent fc1e51f76b
commit df499768cb
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from _typeshed import Incomplete
from distutils.ccompiler import CCompiler
from typing import ClassVar, Final
PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]
PLAT_TO_VCVARS: Final[dict[str, str]]
class MSVCCompiler(CCompiler):
compiler_type: ClassVar[str]
executables: ClassVar[dict[Incomplete, Incomplete]]
res_extension: ClassVar[str]
initialized: bool
def initialize(self, plat_name: str | None = None) -> None: ...