|
1 | 1 | import sys |
2 | | -from typing import Any, ClassVar, Literal |
| 2 | +from _typeshed import Incomplete |
| 3 | +from typing import ClassVar, Literal |
3 | 4 |
|
4 | 5 | from ..cmd import Command |
5 | 6 |
|
6 | 7 | if sys.platform == "win32": |
7 | | - from msilib import Dialog |
| 8 | + from msilib import Control, Dialog |
8 | 9 |
|
9 | 10 | class PyDialog(Dialog): |
10 | 11 | def __init__(self, *args, **kw) -> None: ... |
11 | 12 | def title(self, title) -> None: ... |
12 | | - def back(self, title, next, name: str = "Back", active: bool | Literal[0, 1] = 1): ... |
13 | | - def cancel(self, title, next, name: str = "Cancel", active: bool | Literal[0, 1] = 1): ... |
14 | | - def next(self, title, next, name: str = "Next", active: bool | Literal[0, 1] = 1): ... |
15 | | - def xbutton(self, name, title, next, xpos): ... |
| 13 | + def back(self, title, next, name: str = "Back", active: bool | Literal[0, 1] = 1) -> Control: ... |
| 14 | + def cancel(self, title, next, name: str = "Cancel", active: bool | Literal[0, 1] = 1) -> Control: ... |
| 15 | + def next(self, title, next, name: str = "Next", active: bool | Literal[0, 1] = 1) -> Control: ... |
| 16 | + def xbutton(self, name, title, next, xpos) -> Control: ... |
16 | 17 |
|
17 | 18 | class bdist_msi(Command): |
18 | 19 | description: str |
19 | 20 | user_options: ClassVar[list[tuple[str, str | None, str]]] |
20 | 21 | boolean_options: ClassVar[list[str]] |
21 | | - all_versions: Any |
| 22 | + all_versions: Incomplete |
22 | 23 | other_version: str |
23 | 24 | if sys.version_info >= (3, 9): |
24 | 25 | def __init__(self, *args, **kw) -> None: ... |
25 | | - bdist_dir: Any |
26 | | - plat_name: Any |
| 26 | + bdist_dir: Incomplete |
| 27 | + plat_name: Incomplete |
27 | 28 | keep_temp: int |
28 | 29 | no_target_compile: int |
29 | 30 | no_target_optimize: int |
30 | | - target_version: Any |
31 | | - dist_dir: Any |
32 | | - skip_build: Any |
33 | | - install_script: Any |
34 | | - pre_install_script: Any |
35 | | - versions: Any |
| 31 | + target_version: Incomplete |
| 32 | + dist_dir: Incomplete |
| 33 | + skip_build: Incomplete |
| 34 | + install_script: Incomplete |
| 35 | + pre_install_script: Incomplete |
| 36 | + versions: Incomplete |
36 | 37 | def initialize_options(self) -> None: ... |
37 | | - install_script_key: Any |
| 38 | + install_script_key: Incomplete |
38 | 39 | def finalize_options(self) -> None: ... |
39 | | - db: Any |
| 40 | + db: Incomplete |
40 | 41 | def run(self) -> None: ... |
41 | 42 | def add_files(self) -> None: ... |
42 | 43 | def add_find_python(self) -> None: ... |
|
0 commit comments