mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
[setuptools] Update to 77.0.2 (#13685)
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Avasam <samuel.06@hotmail.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Avasam
parent
c67f9da373
commit
b68907b104
@@ -1,3 +1,5 @@
|
||||
from .compilers.C import msvc
|
||||
|
||||
__all__ = ["MSVCCompiler"]
|
||||
|
||||
MSVCCompiler = msvc.Compiler
|
||||
|
||||
@@ -4,8 +4,6 @@ from typing import ClassVar
|
||||
|
||||
from ..cmd import Command
|
||||
|
||||
def show_compilers() -> None: ...
|
||||
|
||||
class build(Command):
|
||||
description: ClassVar[str]
|
||||
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import ClassVar, Final
|
||||
|
||||
from . import base
|
||||
@@ -6,8 +5,6 @@ from . import base
|
||||
PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]
|
||||
|
||||
class Compiler(base.Compiler):
|
||||
compiler_type: ClassVar[str]
|
||||
executables: ClassVar[dict[str, Incomplete]]
|
||||
src_extensions: ClassVar[list[str]]
|
||||
res_extension: ClassVar[str]
|
||||
obj_extension: ClassVar[str]
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
from typing import ClassVar
|
||||
|
||||
from . import base
|
||||
|
||||
class Compiler(base.Compiler):
|
||||
src_extensions: ClassVar[list[str]]
|
||||
obj_extension: ClassVar[str]
|
||||
static_lib_extension: ClassVar[str]
|
||||
shared_lib_extension: ClassVar[str]
|
||||
dylib_lib_extension: ClassVar[str]
|
||||
xcode_stub_lib_extension: ClassVar[str]
|
||||
static_lib_format: ClassVar[str]
|
||||
shared_lib_format: ClassVar[str]
|
||||
dylib_lib_format: ClassVar[str]
|
||||
xcode_stub_lib_format: ClassVar[str]
|
||||
def runtime_library_dir_option(self, dir: str) -> str | list[str]: ... # type: ignore[override]
|
||||
@@ -0,0 +1,3 @@
|
||||
from .compilers.C import unix
|
||||
|
||||
UnixCCompiler = unix.Compiler
|
||||
Reference in New Issue
Block a user