Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions stdlib/distutils/_msvccompiler.pyi
Original file line number Diff line number Diff line change
@@ -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: ...
1 change: 1 addition & 0 deletions stubs/setuptools/distutils/_msvccompiler.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from setuptools._distutils._msvccompiler import *
15 changes: 15 additions & 0 deletions stubs/setuptools/setuptools/_distutils/_msvccompiler.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from binascii import Incomplete
from typing import ClassVar, Final

from .ccompiler import CCompiler

PLAT_SPEC_TO_RUNTIME: 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: ...
@property
def out_extensions(self) -> dict[str, str]: ...
Loading