@@ -406,7 +406,9 @@ def __init__(self, dist: Distribution, name: str, path_entries: list[Path]) -> N
406
406
self .name = name
407
407
self .path_entries = path_entries
408
408
409
- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
409
+ def __call__ (
410
+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
411
+ ) -> None :
410
412
entries = "\n " .join (str (p .resolve ()) for p in self .path_entries )
411
413
contents = _encode_pth (f"{ entries } \n " )
412
414
wheel .writestr (f"__editable__.{ self .name } .pth" , contents )
@@ -451,7 +453,9 @@ def __init__(
451
453
self ._file = dist .get_command_obj ("build_py" ).copy_file
452
454
super ().__init__ (dist , name , [self .auxiliary_dir ])
453
455
454
- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
456
+ def __call__ (
457
+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
458
+ ) -> None :
455
459
self ._create_links (files , mapping )
456
460
super ().__call__ (wheel , files , mapping )
457
461
@@ -545,7 +549,9 @@ def get_implementation(self) -> Iterator[tuple[str, bytes]]:
545
549
content = _encode_pth (f"import { finder } ; { finder } .install()" )
546
550
yield (f"__editable__.{ self .name } .pth" , content )
547
551
548
- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
552
+ def __call__ (
553
+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
554
+ ) -> None :
549
555
for file , content in self .get_implementation ():
550
556
wheel .writestr (file , content )
551
557
0 commit comments