File tree Expand file tree Collapse file tree 4 files changed +4
-15
lines changed
stubs/setuptools/setuptools Expand file tree Collapse file tree 4 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 1
1
from collections .abc import Callable
2
- from typing import Any , ClassVar
2
+ from typing import Any
3
3
from typing_extensions import TypeAlias
4
4
5
5
_Macro : TypeAlias = tuple [str ] | tuple [str , str | None ]
@@ -15,15 +15,6 @@ def new_compiler(
15
15
def show_compilers () -> None : ...
16
16
17
17
class CCompiler :
18
- src_extensions : ClassVar [list [str ] | None ]
19
- obj_extensions : ClassVar [str | None ]
20
- static_lib_extension : ClassVar [str | None ]
21
- shared_lib_extension : ClassVar [str | None ]
22
- static_lib_format : ClassVar [str | None ]
23
- shared_lib_format : ClassVar [str | None ]
24
- exe_extension : ClassVar [str | None ]
25
- language_map : ClassVar [dict [str , str ]]
26
- language_order : ClassVar [list [str ]]
27
18
dry_run : bool
28
19
force : bool
29
20
verbose : bool
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ class Command:
10
10
distribution : Distribution
11
11
sub_commands : ClassVar [list [tuple [str , Callable [[Self ], bool ] | None ]]]
12
12
def __init__ (self , dist : Distribution ) -> None : ...
13
- def ensure_finalized (self ) -> None : ...
14
13
@abstractmethod
15
14
def initialize_options (self ) -> None : ...
16
15
@abstractmethod
Original file line number Diff line number Diff line change 1
1
from _typeshed import Incomplete
2
2
3
3
from ..cmd import Command
4
- from ..extension import Extension
5
4
6
5
class build_ext (Command ):
7
6
description : str
@@ -43,5 +42,5 @@ class build_ext(Command):
43
42
def get_ext_fullpath (self , ext_name : str ) -> str : ...
44
43
def get_ext_fullname (self , ext_name : str ) -> str : ...
45
44
def get_ext_filename (self , ext_name : str ) -> str : ...
46
- def get_export_symbols (self , ext : Extension ) -> list [ str ] : ...
47
- def get_libraries (self , ext : Extension ) -> list [ str ] : ...
45
+ def get_export_symbols (self , ext ) : ...
46
+ def get_libraries (self , ext ) : ...
Original file line number Diff line number Diff line change 1
1
def configure () -> None : ...
2
- def set_threshold (level : int ) -> int : ...
2
+ def set_threshold (level ) : ...
You can’t perform that action at this time.
0 commit comments