2 from pathlib import Path
3 from typing import BinaryIO, Callable, Union
5 _Path = Union[str, Path, BinaryIO]
7 class ZipAppError(ValueError): ...
9 if sys.version_info >= (3, 7):
12 target: _Path | None = ...,
13 interpreter: str | None = ...,
14 main: str | None = ...,
15 filter: Callable[[Path], bool] | None = ...,
16 compressed: bool = ...,
21 source: _Path, target: _Path | None = ..., interpreter: str | None = ..., main: str | None = ...
24 def get_interpreter(archive: _Path) -> str: ...