1
1
from _typeshed import Incomplete , StrPath
2
- from collections .abc import Iterator
2
+ from collections .abc import Iterator , Mapping
3
3
from enum import Enum
4
4
from pathlib import Path
5
5
from types import TracebackType
@@ -28,45 +28,45 @@ class editable_wheel(Command):
28
28
project_dir : Incomplete
29
29
mode : Incomplete
30
30
def initialize_options (self ) -> None : ...
31
- package_dir : Incomplete
31
+ package_dir : dict [ Incomplete , Incomplete ]
32
32
def finalize_options (self ) -> None : ...
33
33
def run (self ) -> None : ...
34
34
35
35
class EditableStrategy (Protocol ):
36
- def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : dict [str , str ]) -> None : ...
36
+ def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : Mapping [str , str ]) -> None : ...
37
37
def __enter__ (self ): ...
38
38
def __exit__ (
39
39
self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
40
40
) -> None : ...
41
41
42
42
class _StaticPth :
43
- dist : Incomplete
44
- name : Incomplete
45
- path_entries : Incomplete
43
+ dist : Distribution
44
+ name : str
45
+ path_entries : list [ Path ]
46
46
def __init__ (self , dist : Distribution , name : str , path_entries : list [Path ]) -> None : ...
47
- def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : dict [str , str ]): ...
47
+ def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : Mapping [str , str ]): ...
48
48
def __enter__ (self ) -> Self : ...
49
49
def __exit__ (
50
50
self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
51
51
) -> None : ...
52
52
53
53
class _LinkTree (_StaticPth ):
54
- auxiliary_dir : Incomplete
55
- build_lib : Incomplete
54
+ auxiliary_dir : Path
55
+ build_lib : Path
56
56
def __init__ (self , dist : Distribution , name : str , auxiliary_dir : StrPath , build_lib : StrPath ) -> None : ...
57
- def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : dict [str , str ]): ...
57
+ def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : Mapping [str , str ]): ...
58
58
def __enter__ (self ) -> Self : ...
59
59
def __exit__ (
60
60
self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
61
61
) -> None : ...
62
62
63
63
class _TopLevelFinder :
64
- dist : Incomplete
65
- name : Incomplete
64
+ dist : Distribution
65
+ name : str
66
66
def __init__ (self , dist : Distribution , name : str ) -> None : ...
67
67
def template_vars (self ) -> tuple [str , str , dict [str , str ], dict [str , list [str ]]]: ...
68
68
def get_implementation (self ) -> Iterator [tuple [str , bytes ]]: ...
69
- def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : dict [str , str ]): ...
69
+ def __call__ (self , wheel : _WheelFile , files : list [str ], mapping : Mapping [str , str ]): ...
70
70
def __enter__ (self ) -> Self : ...
71
71
def __exit__ (
72
72
self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
@@ -77,7 +77,7 @@ class _NamespaceInstaller(namespaces.Installer):
77
77
src_root : Incomplete
78
78
installation_dir : Incomplete
79
79
editable_name : Incomplete
80
- outputs : Incomplete
80
+ outputs : list [ Incomplete ]
81
81
dry_run : bool
82
82
def __init__ (self , distribution , installation_dir , editable_name , src_root ) -> None : ...
83
83
0 commit comments