--- /dev/null
+# Stubs for zipapp (Python 3.5+)\r
+\r
+from pathlib import Path\r
+import sys\r
+from typing import BinaryIO, Callable, Optional, Union\r
+\r
+_Path = Union[str, Path, BinaryIO]\r
+\r
+class ZipAppError(Exception): ...\r
+\r
+if sys.version_info >= (3, 7):\r
+ def create_archive(source: _Path, target: Optional[_Path] = ..., interpreter: Optional[str] = ..., main: Optional[str] = ...,\r
+ filter: Optional[Callable[[Path], bool]] = ..., compressed: bool = ...) -> None: ...\r
+else:\r
+ def create_archive(source: _Path, target: Optional[_Path] = ..., interpreter: Optional[str] = ..., main: Optional[str] = ...) -> None: ...\r
+def get_interpreter(archive: _Path) -> str: ...\r