|
1 |
| -from _typeshed import FileDescriptorOrPath, SupportsWrite |
| 1 | +from _typeshed import FileDescriptorOrPath, Incomplete, SupportsWrite |
2 | 2 | from collections.abc import Iterable, Mapping
|
3 | 3 | from distutils.cmd import Command
|
| 4 | +from re import Pattern |
4 | 5 | from typing import IO, Any
|
5 | 6 |
|
| 7 | +command_re: Pattern[str] |
| 8 | + |
6 | 9 | class DistributionMetadata:
|
7 | 10 | def __init__(self, path: FileDescriptorOrPath | None = None) -> None: ...
|
8 | 11 | name: str | None
|
@@ -57,3 +60,57 @@ class Distribution:
|
57 | 60 | def get_option_dict(self, command: str) -> dict[str, tuple[str, str]]: ...
|
58 | 61 | def parse_config_files(self, filenames: Iterable[str] | None = None) -> None: ...
|
59 | 62 | def get_command_obj(self, command: str, create: bool = ...) -> Command | None: ...
|
| 63 | + global_options: Incomplete |
| 64 | + common_usage: str |
| 65 | + display_options: Incomplete |
| 66 | + display_option_names: Incomplete |
| 67 | + negative_opt: Incomplete |
| 68 | + verbose: int |
| 69 | + dry_run: int |
| 70 | + help: int |
| 71 | + command_packages: Incomplete |
| 72 | + script_name: Incomplete |
| 73 | + script_args: Incomplete |
| 74 | + command_options: Incomplete |
| 75 | + dist_files: Incomplete |
| 76 | + packages: Incomplete |
| 77 | + package_data: Incomplete |
| 78 | + package_dir: Incomplete |
| 79 | + py_modules: Incomplete |
| 80 | + libraries: Incomplete |
| 81 | + headers: Incomplete |
| 82 | + ext_modules: Incomplete |
| 83 | + ext_package: Incomplete |
| 84 | + include_dirs: Incomplete |
| 85 | + extra_path: Incomplete |
| 86 | + scripts: Incomplete |
| 87 | + data_files: Incomplete |
| 88 | + password: str |
| 89 | + command_obj: Incomplete |
| 90 | + have_run: Incomplete |
| 91 | + want_user_cfg: bool |
| 92 | + def dump_option_dicts( |
| 93 | + self, header: Incomplete | None = ..., commands: Incomplete | None = ..., indent: str = ... |
| 94 | + ) -> None: ... |
| 95 | + def find_config_files(self): ... |
| 96 | + commands: Incomplete |
| 97 | + def parse_command_line(self): ... |
| 98 | + def finalize_options(self) -> None: ... |
| 99 | + def handle_display_options(self, option_order): ... |
| 100 | + def print_command_list(self, commands, header, max_length) -> None: ... |
| 101 | + def print_commands(self) -> None: ... |
| 102 | + def get_command_list(self): ... |
| 103 | + def get_command_packages(self): ... |
| 104 | + def get_command_class(self, command): ... |
| 105 | + def reinitialize_command(self, command, reinit_subcommands: int = ...): ... |
| 106 | + def announce(self, msg, level=...) -> None: ... |
| 107 | + def run_commands(self) -> None: ... |
| 108 | + def run_command(self, command) -> None: ... |
| 109 | + def has_pure_modules(self): ... |
| 110 | + def has_ext_modules(self): ... |
| 111 | + def has_c_libraries(self): ... |
| 112 | + def has_modules(self): ... |
| 113 | + def has_headers(self): ... |
| 114 | + def has_scripts(self): ... |
| 115 | + def has_data_files(self): ... |
| 116 | + def is_pure(self): ... |
0 commit comments