11from _typeshed import Incomplete , StrPath
2- from collections .abc import Iterator
2+ from collections .abc import Iterator , Mapping
33from enum import Enum
44from pathlib import Path
55from types import TracebackType
@@ -28,45 +28,45 @@ class editable_wheel(Command):
2828 project_dir : Incomplete
2929 mode : Incomplete
3030 def initialize_options (self ) -> None : ...
31- package_dir : Incomplete
31+ package_dir : dict [ Incomplete , Incomplete ]
3232 def finalize_options (self ) -> None : ...
3333 def run (self ) -> None : ...
3434
3535class 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 : ...
3737 def __enter__ (self ): ...
3838 def __exit__ (
3939 self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
4040 ) -> None : ...
4141
4242class _StaticPth :
43- dist : Incomplete
44- name : Incomplete
45- path_entries : Incomplete
43+ dist : Distribution
44+ name : str
45+ path_entries : list [ Path ]
4646 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 ]): ...
4848 def __enter__ (self ) -> Self : ...
4949 def __exit__ (
5050 self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
5151 ) -> None : ...
5252
5353class _LinkTree (_StaticPth ):
54- auxiliary_dir : Incomplete
55- build_lib : Incomplete
54+ auxiliary_dir : Path
55+ build_lib : Path
5656 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 ]): ...
5858 def __enter__ (self ) -> Self : ...
5959 def __exit__ (
6060 self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
6161 ) -> None : ...
6262
6363class _TopLevelFinder :
64- dist : Incomplete
65- name : Incomplete
64+ dist : Distribution
65+ name : str
6666 def __init__ (self , dist : Distribution , name : str ) -> None : ...
6767 def template_vars (self ) -> tuple [str , str , dict [str , str ], dict [str , list [str ]]]: ...
6868 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 ]): ...
7070 def __enter__ (self ) -> Self : ...
7171 def __exit__ (
7272 self , _exc_type : type [BaseException ] | None , _exc_value : BaseException | None , _traceback : TracebackType | None
@@ -77,7 +77,7 @@ class _NamespaceInstaller(namespaces.Installer):
7777 src_root : Incomplete
7878 installation_dir : Incomplete
7979 editable_name : Incomplete
80- outputs : Incomplete
80+ outputs : list [ Incomplete ]
8181 dry_run : bool
8282 def __init__ (self , distribution , installation_dir , editable_name , src_root ) -> None : ...
8383
0 commit comments