|
1 | 1 | # https://pyinstaller.org/en/stable/hooks.html |
2 | 2 |
|
3 | | -from _typeshed import StrOrBytesPath, SupportsKeysAndGetItem |
| 3 | +from _typeshed import StrOrBytesPath, StrPath, SupportsKeysAndGetItem |
4 | 4 | from collections.abc import Callable, Iterable, Mapping |
5 | 5 | from typing import Any |
6 | 6 | from typing_extensions import Literal, TypeAlias |
@@ -50,12 +50,12 @@ def collect_dynamic_libs(package: str, destdir: object = ...) -> list[tuple[str, |
50 | 50 | def collect_data_files( |
51 | 51 | package: str, |
52 | 52 | include_py_files: bool = ..., |
53 | | - subdir: StrOrBytesPath | None = ..., |
| 53 | + subdir: StrPath | None = ..., |
54 | 54 | excludes: Iterable[str] | None = ..., |
55 | 55 | includes: Iterable[str] | None = ..., |
56 | 56 | ) -> list[tuple[str, str]]: ... |
57 | 57 | def collect_system_data_files( |
58 | | - path: str, destdir: StrOrBytesPath | None = ..., include_py_files: bool = ... |
| 58 | + path: str, destdir: StrPath | None = ..., include_py_files: bool = ... |
59 | 59 | ) -> list[tuple[str, str]]: ... |
60 | 60 | def copy_metadata(package_name: str, recursive: bool = ...) -> list[tuple[str, str]]: ... |
61 | 61 | def get_installer(module: str) -> str | None: ... |
|
0 commit comments