basedpyright 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.LICENSE.txt +42 -0
  3. package/dist/pyright-langserver.js.map +1 -1
  4. package/dist/pyright.js +1 -1
  5. package/dist/pyright.js.map +1 -1
  6. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -25
  7. package/dist/typeshed-fallback/stdlib/_bisect.pyi +4 -44
  8. package/dist/typeshed-fallback/stdlib/_bootlocale.pyi +1 -1
  9. package/dist/typeshed-fallback/stdlib/_csv.pyi +2 -16
  10. package/dist/typeshed-fallback/stdlib/_dbm.pyi +1 -13
  11. package/dist/typeshed-fallback/stdlib/_decimal.pyi +1 -8
  12. package/dist/typeshed-fallback/stdlib/_dummy_thread.pyi +33 -33
  13. package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +164 -180
  14. package/dist/typeshed-fallback/stdlib/_gdbm.pyi +1 -39
  15. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +7 -28
  16. package/dist/typeshed-fallback/stdlib/_imp.pyi +1 -3
  17. package/dist/typeshed-fallback/stdlib/_msi.pyi +92 -94
  18. package/dist/typeshed-fallback/stdlib/_sqlite3.pyi +6 -48
  19. package/dist/typeshed-fallback/stdlib/_ssl.pyi +1 -8
  20. package/dist/typeshed-fallback/stdlib/_thread.pyi +1 -8
  21. package/dist/typeshed-fallback/stdlib/_warnings.pyi +2 -6
  22. package/dist/typeshed-fallback/stdlib/aifc.pyi +91 -91
  23. package/dist/typeshed-fallback/stdlib/array.pyi +3 -17
  24. package/dist/typeshed-fallback/stdlib/asynchat.pyi +21 -21
  25. package/dist/typeshed-fallback/stdlib/asyncio/sslproto.pyi +4 -23
  26. package/dist/typeshed-fallback/stdlib/asyncore.pyi +90 -90
  27. package/dist/typeshed-fallback/stdlib/audioop.pyi +43 -95
  28. package/dist/typeshed-fallback/stdlib/binascii.pyi +5 -15
  29. package/dist/typeshed-fallback/stdlib/binhex.pyi +45 -45
  30. package/dist/typeshed-fallback/stdlib/builtins.pyi +8 -106
  31. package/dist/typeshed-fallback/stdlib/cgi.pyi +118 -118
  32. package/dist/typeshed-fallback/stdlib/cgitb.pyi +32 -32
  33. package/dist/typeshed-fallback/stdlib/chunk.pyi +20 -20
  34. package/dist/typeshed-fallback/stdlib/datetime.pyi +4 -12
  35. package/dist/typeshed-fallback/stdlib/distutils/__init__.pyi +5 -5
  36. package/dist/typeshed-fallback/stdlib/distutils/_msvccompiler.pyi +13 -13
  37. package/dist/typeshed-fallback/stdlib/distutils/archive_util.pyi +35 -35
  38. package/dist/typeshed-fallback/stdlib/distutils/bcppcompiler.pyi +3 -3
  39. package/dist/typeshed-fallback/stdlib/distutils/ccompiler.pyi +176 -176
  40. package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +229 -229
  41. package/dist/typeshed-fallback/stdlib/distutils/command/__init__.pyi +48 -48
  42. package/dist/typeshed-fallback/stdlib/distutils/command/bdist.pyi +27 -27
  43. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_dumb.pyi +22 -22
  44. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_msi.pyi +46 -46
  45. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_rpm.pyi +53 -53
  46. package/dist/typeshed-fallback/stdlib/distutils/command/bdist_wininst.pyi +16 -16
  47. package/dist/typeshed-fallback/stdlib/distutils/command/build.pyi +34 -34
  48. package/dist/typeshed-fallback/stdlib/distutils/command/build_clib.pyi +29 -29
  49. package/dist/typeshed-fallback/stdlib/distutils/command/build_ext.pyi +52 -52
  50. package/dist/typeshed-fallback/stdlib/distutils/command/build_py.pyi +45 -45
  51. package/dist/typeshed-fallback/stdlib/distutils/command/build_scripts.pyi +25 -25
  52. package/dist/typeshed-fallback/stdlib/distutils/command/check.pyi +40 -40
  53. package/dist/typeshed-fallback/stdlib/distutils/command/clean.pyi +18 -18
  54. package/dist/typeshed-fallback/stdlib/distutils/command/config.pyi +84 -84
  55. package/dist/typeshed-fallback/stdlib/distutils/command/install.pyi +71 -71
  56. package/dist/typeshed-fallback/stdlib/distutils/command/install_data.pyi +20 -20
  57. package/dist/typeshed-fallback/stdlib/distutils/command/install_egg_info.pyi +19 -19
  58. package/dist/typeshed-fallback/stdlib/distutils/command/install_headers.pyi +17 -17
  59. package/dist/typeshed-fallback/stdlib/distutils/command/install_lib.pyi +26 -26
  60. package/dist/typeshed-fallback/stdlib/distutils/command/install_scripts.pyi +19 -19
  61. package/dist/typeshed-fallback/stdlib/distutils/command/register.pyi +21 -21
  62. package/dist/typeshed-fallback/stdlib/distutils/command/sdist.pyi +45 -45
  63. package/dist/typeshed-fallback/stdlib/distutils/command/upload.pyi +18 -18
  64. package/dist/typeshed-fallback/stdlib/distutils/config.pyi +17 -17
  65. package/dist/typeshed-fallback/stdlib/distutils/core.pyi +58 -58
  66. package/dist/typeshed-fallback/stdlib/distutils/cygwinccompiler.pyi +20 -20
  67. package/dist/typeshed-fallback/stdlib/distutils/debug.pyi +3 -3
  68. package/dist/typeshed-fallback/stdlib/distutils/dep_util.pyi +14 -14
  69. package/dist/typeshed-fallback/stdlib/distutils/dir_util.pyi +23 -23
  70. package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +317 -317
  71. package/dist/typeshed-fallback/stdlib/distutils/errors.pyi +19 -19
  72. package/dist/typeshed-fallback/stdlib/distutils/extension.pyi +36 -36
  73. package/dist/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi +34 -34
  74. package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +38 -38
  75. package/dist/typeshed-fallback/stdlib/distutils/filelist.pyi +58 -58
  76. package/dist/typeshed-fallback/stdlib/distutils/log.pyi +26 -26
  77. package/dist/typeshed-fallback/stdlib/distutils/msvccompiler.pyi +3 -3
  78. package/dist/typeshed-fallback/stdlib/distutils/spawn.pyi +10 -10
  79. package/dist/typeshed-fallback/stdlib/distutils/sysconfig.pyi +33 -33
  80. package/dist/typeshed-fallback/stdlib/distutils/text_file.pyi +21 -21
  81. package/dist/typeshed-fallback/stdlib/distutils/unixccompiler.pyi +3 -3
  82. package/dist/typeshed-fallback/stdlib/distutils/util.pyi +53 -53
  83. package/dist/typeshed-fallback/stdlib/distutils/version.pyi +36 -38
  84. package/dist/typeshed-fallback/stdlib/dummy_threading.pyi +2 -2
  85. package/dist/typeshed-fallback/stdlib/encodings/mac_centeuro.pyi +21 -21
  86. package/dist/typeshed-fallback/stdlib/formatter.pyi +88 -88
  87. package/dist/typeshed-fallback/stdlib/hmac.pyi +2 -30
  88. package/dist/typeshed-fallback/stdlib/imghdr.pyi +17 -17
  89. package/dist/typeshed-fallback/stdlib/imp.pyi +62 -62
  90. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +7 -36
  91. package/dist/typeshed-fallback/stdlib/lib2to3/btm_matcher.pyi +28 -28
  92. package/dist/typeshed-fallback/stdlib/lib2to3/fixer_base.pyi +42 -42
  93. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_apply.pyi +8 -8
  94. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_asserts.pyi +10 -10
  95. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_basestring.pyi +8 -8
  96. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_buffer.pyi +8 -8
  97. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_dict.pyi +16 -16
  98. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_except.pyi +14 -14
  99. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_exec.pyi +8 -8
  100. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_execfile.pyi +8 -8
  101. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_exitfunc.pyi +13 -13
  102. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_filter.pyi +9 -9
  103. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_funcattrs.pyi +8 -8
  104. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_future.pyi +8 -8
  105. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_getcwdu.pyi +8 -8
  106. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_has_key.pyi +8 -8
  107. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_idioms.pyi +15 -15
  108. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_import.pyi +16 -16
  109. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_imports.pyi +21 -21
  110. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_imports2.pyi +8 -8
  111. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_input.pyi +11 -11
  112. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_intern.pyi +9 -9
  113. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_isinstance.pyi +8 -8
  114. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_itertools.pyi +9 -9
  115. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_itertools_imports.pyi +7 -7
  116. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_long.pyi +7 -7
  117. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_map.pyi +9 -9
  118. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_metaclass.pyi +17 -17
  119. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_methodattrs.pyi +10 -10
  120. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_ne.pyi +8 -8
  121. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_next.pyi +19 -19
  122. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_nonzero.pyi +8 -8
  123. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_numliterals.pyi +8 -8
  124. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_operator.pyi +12 -12
  125. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_paren.pyi +8 -8
  126. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_print.pyi +12 -12
  127. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_raise.pyi +8 -8
  128. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_raw_input.pyi +8 -8
  129. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_reduce.pyi +8 -8
  130. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_reload.pyi +9 -9
  131. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_renames.pyi +17 -17
  132. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_repr.pyi +8 -8
  133. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_set_literal.pyi +7 -7
  134. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_standarderror.pyi +8 -8
  135. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_sys_exc.pyi +9 -9
  136. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_throw.pyi +8 -8
  137. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_tuple_params.pyi +17 -17
  138. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_types.pyi +8 -8
  139. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_unicode.pyi +12 -12
  140. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_urllib.pyi +15 -15
  141. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_ws_comma.pyi +12 -12
  142. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_xrange.pyi +20 -20
  143. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_xreadlines.pyi +8 -8
  144. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_zip.pyi +9 -9
  145. package/dist/typeshed-fallback/stdlib/lib2to3/main.pyi +42 -42
  146. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/__init__.pyi +9 -9
  147. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/driver.pyi +27 -27
  148. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/grammar.pyi +24 -24
  149. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/literals.pyi +7 -7
  150. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/parse.pyi +30 -30
  151. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +50 -50
  152. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/token.pyi +69 -69
  153. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/tokenize.pyi +96 -96
  154. package/dist/typeshed-fallback/stdlib/lib2to3/pygram.pyi +114 -114
  155. package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +117 -127
  156. package/dist/typeshed-fallback/stdlib/lib2to3/refactor.pyi +82 -82
  157. package/dist/typeshed-fallback/stdlib/mailcap.pyi +11 -11
  158. package/dist/typeshed-fallback/stdlib/marshal.pyi +4 -52
  159. package/dist/typeshed-fallback/stdlib/math.pyi +2 -6
  160. package/dist/typeshed-fallback/stdlib/msilib/__init__.pyi +177 -177
  161. package/dist/typeshed-fallback/stdlib/msilib/schema.pyi +94 -94
  162. package/dist/typeshed-fallback/stdlib/msilib/sequence.pyi +13 -13
  163. package/dist/typeshed-fallback/stdlib/msilib/text.pyi +7 -7
  164. package/dist/typeshed-fallback/stdlib/nis.pyi +4 -31
  165. package/dist/typeshed-fallback/stdlib/nntplib.pyi +125 -125
  166. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -8
  167. package/dist/typeshed-fallback/stdlib/parser.pyi +24 -55
  168. package/dist/typeshed-fallback/stdlib/pipes.pyi +16 -16
  169. package/dist/typeshed-fallback/stdlib/smtpd.pyi +91 -91
  170. package/dist/typeshed-fallback/stdlib/sndhdr.pyi +14 -14
  171. package/dist/typeshed-fallback/stdlib/spwd.pyi +13 -66
  172. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +2 -6
  173. package/dist/typeshed-fallback/stdlib/ssl.pyi +0 -4
  174. package/dist/typeshed-fallback/stdlib/sunau.pyi +86 -86
  175. package/dist/typeshed-fallback/stdlib/symbol.pyi +93 -93
  176. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +4 -40
  177. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +123 -123
  178. package/dist/typeshed-fallback/stdlib/tkinter/tix.pyi +299 -299
  179. package/dist/typeshed-fallback/stdlib/types.pyi +2 -6
  180. package/dist/typeshed-fallback/stdlib/typing.pyi +2 -6
  181. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +544 -559
  182. package/dist/typeshed-fallback/stdlib/unittest/__init__.pyi +1 -6
  183. package/dist/typeshed-fallback/stdlib/uu.pyi +13 -13
  184. package/dist/typeshed-fallback/stdlib/xdrlib.pyi +57 -57
  185. package/dist/typeshed-fallback/stdlib/xxlimited.pyi +1 -3
  186. package/dist/typeshed-fallback/stdlib/zipimport.pyi +0 -29
  187. package/dist/typeshed-fallback/stdlib/zlib.pyi +1 -10
  188. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +3 -9
  189. package/package.json +1 -1
@@ -1,229 +1,229 @@
1
- from _typeshed import BytesPath, Incomplete, StrOrBytesPath, StrPath, Unused
2
- from abc import abstractmethod
3
- from collections.abc import Callable, Iterable
4
- from distutils.command.bdist import bdist
5
- from distutils.command.bdist_dumb import bdist_dumb
6
- from distutils.command.bdist_rpm import bdist_rpm
7
- from distutils.command.build import build
8
- from distutils.command.build_clib import build_clib
9
- from distutils.command.build_ext import build_ext
10
- from distutils.command.build_py import build_py
11
- from distutils.command.build_scripts import build_scripts
12
- from distutils.command.check import check
13
- from distutils.command.clean import clean
14
- from distutils.command.config import config
15
- from distutils.command.install import install
16
- from distutils.command.install_data import install_data
17
- from distutils.command.install_egg_info import install_egg_info
18
- from distutils.command.install_headers import install_headers
19
- from distutils.command.install_lib import install_lib
20
- from distutils.command.install_scripts import install_scripts
21
- from distutils.command.register import register
22
- from distutils.command.sdist import sdist
23
- from distutils.command.upload import upload
24
- from distutils.dist import Distribution
25
- from distutils.file_util import _BytesPathT, _StrPathT
26
- from typing import Any, ClassVar, Literal, TypeVar, overload
27
- from typing_extensions import TypeVarTuple, Unpack
28
-
29
- _CommandT = TypeVar("_CommandT", bound=Command)
30
- _Ts = TypeVarTuple("_Ts")
31
-
32
- class Command:
33
- dry_run: Literal[0, 1] # Exposed from __getattr_. Same as Distribution.dry_run
34
- distribution: Distribution
35
- # Any to work around variance issues
36
- sub_commands: ClassVar[list[tuple[str, Callable[[Any], bool] | None]]]
37
- def __init__(self, dist: Distribution) -> None: ...
38
- @abstractmethod
39
- def initialize_options(self) -> None: ...
40
- @abstractmethod
41
- def finalize_options(self) -> None: ...
42
- @abstractmethod
43
- def run(self) -> None: ...
44
- def announce(self, msg: str, level: int = 1) -> None: ...
45
- def debug_print(self, msg: str) -> None: ...
46
- def ensure_string(self, option: str, default: str | None = None) -> None: ...
47
- def ensure_string_list(self, option: str) -> None: ...
48
- def ensure_filename(self, option: str) -> None: ...
49
- def ensure_dirname(self, option: str) -> None: ...
50
- def get_command_name(self) -> str: ...
51
- def set_undefined_options(self, src_cmd: str, *option_pairs: tuple[str, str]) -> None: ...
52
- # NOTE: This list comes directly from the distutils/command folder. Minus bdist_msi and bdist_wininst.
53
- @overload
54
- def get_finalized_command(self, command: Literal["bdist"], create: bool | Literal[0, 1] = 1) -> bdist: ...
55
- @overload
56
- def get_finalized_command(self, command: Literal["bdist_dumb"], create: bool | Literal[0, 1] = 1) -> bdist_dumb: ...
57
- @overload
58
- def get_finalized_command(self, command: Literal["bdist_rpm"], create: bool | Literal[0, 1] = 1) -> bdist_rpm: ...
59
- @overload
60
- def get_finalized_command(self, command: Literal["build"], create: bool | Literal[0, 1] = 1) -> build: ...
61
- @overload
62
- def get_finalized_command(self, command: Literal["build_clib"], create: bool | Literal[0, 1] = 1) -> build_clib: ...
63
- @overload
64
- def get_finalized_command(self, command: Literal["build_ext"], create: bool | Literal[0, 1] = 1) -> build_ext: ...
65
- @overload
66
- def get_finalized_command(self, command: Literal["build_py"], create: bool | Literal[0, 1] = 1) -> build_py: ...
67
- @overload
68
- def get_finalized_command(self, command: Literal["build_scripts"], create: bool | Literal[0, 1] = 1) -> build_scripts: ...
69
- @overload
70
- def get_finalized_command(self, command: Literal["check"], create: bool | Literal[0, 1] = 1) -> check: ...
71
- @overload
72
- def get_finalized_command(self, command: Literal["clean"], create: bool | Literal[0, 1] = 1) -> clean: ...
73
- @overload
74
- def get_finalized_command(self, command: Literal["config"], create: bool | Literal[0, 1] = 1) -> config: ...
75
- @overload
76
- def get_finalized_command(self, command: Literal["install"], create: bool | Literal[0, 1] = 1) -> install: ...
77
- @overload
78
- def get_finalized_command(self, command: Literal["install_data"], create: bool | Literal[0, 1] = 1) -> install_data: ...
79
- @overload
80
- def get_finalized_command(
81
- self, command: Literal["install_egg_info"], create: bool | Literal[0, 1] = 1
82
- ) -> install_egg_info: ...
83
- @overload
84
- def get_finalized_command(self, command: Literal["install_headers"], create: bool | Literal[0, 1] = 1) -> install_headers: ...
85
- @overload
86
- def get_finalized_command(self, command: Literal["install_lib"], create: bool | Literal[0, 1] = 1) -> install_lib: ...
87
- @overload
88
- def get_finalized_command(self, command: Literal["install_scripts"], create: bool | Literal[0, 1] = 1) -> install_scripts: ...
89
- @overload
90
- def get_finalized_command(self, command: Literal["register"], create: bool | Literal[0, 1] = 1) -> register: ...
91
- @overload
92
- def get_finalized_command(self, command: Literal["sdist"], create: bool | Literal[0, 1] = 1) -> sdist: ...
93
- @overload
94
- def get_finalized_command(self, command: Literal["upload"], create: bool | Literal[0, 1] = 1) -> upload: ...
95
- @overload
96
- def get_finalized_command(self, command: str, create: bool | Literal[0, 1] = 1) -> Command: ...
97
- @overload
98
- def reinitialize_command(self, command: Literal["bdist"], reinit_subcommands: bool | Literal[0, 1] = 0) -> bdist: ...
99
- @overload
100
- def reinitialize_command(
101
- self, command: Literal["bdist_dumb"], reinit_subcommands: bool | Literal[0, 1] = 0
102
- ) -> bdist_dumb: ...
103
- @overload
104
- def reinitialize_command(self, command: Literal["bdist_rpm"], reinit_subcommands: bool | Literal[0, 1] = 0) -> bdist_rpm: ...
105
- @overload
106
- def reinitialize_command(self, command: Literal["build"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build: ...
107
- @overload
108
- def reinitialize_command(
109
- self, command: Literal["build_clib"], reinit_subcommands: bool | Literal[0, 1] = 0
110
- ) -> build_clib: ...
111
- @overload
112
- def reinitialize_command(self, command: Literal["build_ext"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build_ext: ...
113
- @overload
114
- def reinitialize_command(self, command: Literal["build_py"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build_py: ...
115
- @overload
116
- def reinitialize_command(
117
- self, command: Literal["build_scripts"], reinit_subcommands: bool | Literal[0, 1] = 0
118
- ) -> build_scripts: ...
119
- @overload
120
- def reinitialize_command(self, command: Literal["check"], reinit_subcommands: bool | Literal[0, 1] = 0) -> check: ...
121
- @overload
122
- def reinitialize_command(self, command: Literal["clean"], reinit_subcommands: bool | Literal[0, 1] = 0) -> clean: ...
123
- @overload
124
- def reinitialize_command(self, command: Literal["config"], reinit_subcommands: bool | Literal[0, 1] = 0) -> config: ...
125
- @overload
126
- def reinitialize_command(self, command: Literal["install"], reinit_subcommands: bool | Literal[0, 1] = 0) -> install: ...
127
- @overload
128
- def reinitialize_command(
129
- self, command: Literal["install_data"], reinit_subcommands: bool | Literal[0, 1] = 0
130
- ) -> install_data: ...
131
- @overload
132
- def reinitialize_command(
133
- self, command: Literal["install_egg_info"], reinit_subcommands: bool | Literal[0, 1] = 0
134
- ) -> install_egg_info: ...
135
- @overload
136
- def reinitialize_command(
137
- self, command: Literal["install_headers"], reinit_subcommands: bool | Literal[0, 1] = 0
138
- ) -> install_headers: ...
139
- @overload
140
- def reinitialize_command(
141
- self, command: Literal["install_lib"], reinit_subcommands: bool | Literal[0, 1] = 0
142
- ) -> install_lib: ...
143
- @overload
144
- def reinitialize_command(
145
- self, command: Literal["install_scripts"], reinit_subcommands: bool | Literal[0, 1] = 0
146
- ) -> install_scripts: ...
147
- @overload
148
- def reinitialize_command(self, command: Literal["register"], reinit_subcommands: bool | Literal[0, 1] = 0) -> register: ...
149
- @overload
150
- def reinitialize_command(self, command: Literal["sdist"], reinit_subcommands: bool | Literal[0, 1] = 0) -> sdist: ...
151
- @overload
152
- def reinitialize_command(self, command: Literal["upload"], reinit_subcommands: bool | Literal[0, 1] = 0) -> upload: ...
153
- @overload
154
- def reinitialize_command(self, command: str, reinit_subcommands: bool | Literal[0, 1] = 0) -> Command: ...
155
- @overload
156
- def reinitialize_command(self, command: _CommandT, reinit_subcommands: bool | Literal[0, 1] = 0) -> _CommandT: ...
157
- def run_command(self, command: str) -> None: ...
158
- def get_sub_commands(self) -> list[str]: ...
159
- def warn(self, msg: str) -> None: ...
160
- def execute(
161
- self, func: Callable[[Unpack[_Ts]], Unused], args: tuple[Unpack[_Ts]], msg: str | None = None, level: int = 1
162
- ) -> None: ...
163
- def mkpath(self, name: str, mode: int = 0o777) -> None: ...
164
- @overload
165
- def copy_file(
166
- self,
167
- infile: StrPath,
168
- outfile: _StrPathT,
169
- preserve_mode: bool | Literal[0, 1] = 1,
170
- preserve_times: bool | Literal[0, 1] = 1,
171
- link: str | None = None,
172
- level: Unused = 1,
173
- ) -> tuple[_StrPathT | str, bool]: ...
174
- @overload
175
- def copy_file(
176
- self,
177
- infile: BytesPath,
178
- outfile: _BytesPathT,
179
- preserve_mode: bool | Literal[0, 1] = 1,
180
- preserve_times: bool | Literal[0, 1] = 1,
181
- link: str | None = None,
182
- level: Unused = 1,
183
- ) -> tuple[_BytesPathT | bytes, bool]: ...
184
- def copy_tree(
185
- self,
186
- infile: StrPath,
187
- outfile: str,
188
- preserve_mode: bool | Literal[0, 1] = 1,
189
- preserve_times: bool | Literal[0, 1] = 1,
190
- preserve_symlinks: bool | Literal[0, 1] = 0,
191
- level: Unused = 1,
192
- ) -> list[str]: ...
193
- @overload
194
- def move_file(self, src: StrPath, dst: _StrPathT, level: Unused = 1) -> _StrPathT | str: ...
195
- @overload
196
- def move_file(self, src: BytesPath, dst: _BytesPathT, level: Unused = 1) -> _BytesPathT | bytes: ...
197
- def spawn(self, cmd: Iterable[str], search_path: bool | Literal[0, 1] = 1, level: Unused = 1) -> None: ...
198
- @overload
199
- def make_archive(
200
- self,
201
- base_name: str,
202
- format: str,
203
- root_dir: StrOrBytesPath | None = None,
204
- base_dir: str | None = None,
205
- owner: str | None = None,
206
- group: str | None = None,
207
- ) -> str: ...
208
- @overload
209
- def make_archive(
210
- self,
211
- base_name: StrPath,
212
- format: str,
213
- root_dir: StrOrBytesPath,
214
- base_dir: str | None = None,
215
- owner: str | None = None,
216
- group: str | None = None,
217
- ) -> str: ...
218
- def make_file(
219
- self,
220
- infiles: str | list[str] | tuple[str, ...],
221
- outfile: StrOrBytesPath,
222
- func: Callable[[Unpack[_Ts]], Unused],
223
- args: tuple[Unpack[_Ts]],
224
- exec_msg: str | None = None,
225
- skip_msg: str | None = None,
226
- level: Unused = 1,
227
- ) -> None: ...
228
- def ensure_finalized(self) -> None: ...
229
- def dump_options(self, header: Incomplete | None = None, indent: str = "") -> None: ...
1
+ from _typeshed import BytesPath, Incomplete, StrOrBytesPath, StrPath, Unused
2
+ from abc import abstractmethod
3
+ from collections.abc import Callable, Iterable
4
+ from distutils.command.bdist import bdist
5
+ from distutils.command.bdist_dumb import bdist_dumb
6
+ from distutils.command.bdist_rpm import bdist_rpm
7
+ from distutils.command.build import build
8
+ from distutils.command.build_clib import build_clib
9
+ from distutils.command.build_ext import build_ext
10
+ from distutils.command.build_py import build_py
11
+ from distutils.command.build_scripts import build_scripts
12
+ from distutils.command.check import check
13
+ from distutils.command.clean import clean
14
+ from distutils.command.config import config
15
+ from distutils.command.install import install
16
+ from distutils.command.install_data import install_data
17
+ from distutils.command.install_egg_info import install_egg_info
18
+ from distutils.command.install_headers import install_headers
19
+ from distutils.command.install_lib import install_lib
20
+ from distutils.command.install_scripts import install_scripts
21
+ from distutils.command.register import register
22
+ from distutils.command.sdist import sdist
23
+ from distutils.command.upload import upload
24
+ from distutils.dist import Distribution
25
+ from distutils.file_util import _BytesPathT, _StrPathT
26
+ from typing import Any, ClassVar, Literal, TypeVar, overload
27
+ from typing_extensions import TypeVarTuple, Unpack
28
+
29
+ _CommandT = TypeVar("_CommandT", bound=Command)
30
+ _Ts = TypeVarTuple("_Ts")
31
+
32
+ class Command:
33
+ dry_run: Literal[0, 1] # Exposed from __getattr_. Same as Distribution.dry_run
34
+ distribution: Distribution
35
+ # Any to work around variance issues
36
+ sub_commands: ClassVar[list[tuple[str, Callable[[Any], bool] | None]]]
37
+ def __init__(self, dist: Distribution) -> None: ...
38
+ @abstractmethod
39
+ def initialize_options(self) -> None: ...
40
+ @abstractmethod
41
+ def finalize_options(self) -> None: ...
42
+ @abstractmethod
43
+ def run(self) -> None: ...
44
+ def announce(self, msg: str, level: int = 1) -> None: ...
45
+ def debug_print(self, msg: str) -> None: ...
46
+ def ensure_string(self, option: str, default: str | None = None) -> None: ...
47
+ def ensure_string_list(self, option: str) -> None: ...
48
+ def ensure_filename(self, option: str) -> None: ...
49
+ def ensure_dirname(self, option: str) -> None: ...
50
+ def get_command_name(self) -> str: ...
51
+ def set_undefined_options(self, src_cmd: str, *option_pairs: tuple[str, str]) -> None: ...
52
+ # NOTE: This list comes directly from the distutils/command folder. Minus bdist_msi and bdist_wininst.
53
+ @overload
54
+ def get_finalized_command(self, command: Literal["bdist"], create: bool | Literal[0, 1] = 1) -> bdist: ...
55
+ @overload
56
+ def get_finalized_command(self, command: Literal["bdist_dumb"], create: bool | Literal[0, 1] = 1) -> bdist_dumb: ...
57
+ @overload
58
+ def get_finalized_command(self, command: Literal["bdist_rpm"], create: bool | Literal[0, 1] = 1) -> bdist_rpm: ...
59
+ @overload
60
+ def get_finalized_command(self, command: Literal["build"], create: bool | Literal[0, 1] = 1) -> build: ...
61
+ @overload
62
+ def get_finalized_command(self, command: Literal["build_clib"], create: bool | Literal[0, 1] = 1) -> build_clib: ...
63
+ @overload
64
+ def get_finalized_command(self, command: Literal["build_ext"], create: bool | Literal[0, 1] = 1) -> build_ext: ...
65
+ @overload
66
+ def get_finalized_command(self, command: Literal["build_py"], create: bool | Literal[0, 1] = 1) -> build_py: ...
67
+ @overload
68
+ def get_finalized_command(self, command: Literal["build_scripts"], create: bool | Literal[0, 1] = 1) -> build_scripts: ...
69
+ @overload
70
+ def get_finalized_command(self, command: Literal["check"], create: bool | Literal[0, 1] = 1) -> check: ...
71
+ @overload
72
+ def get_finalized_command(self, command: Literal["clean"], create: bool | Literal[0, 1] = 1) -> clean: ...
73
+ @overload
74
+ def get_finalized_command(self, command: Literal["config"], create: bool | Literal[0, 1] = 1) -> config: ...
75
+ @overload
76
+ def get_finalized_command(self, command: Literal["install"], create: bool | Literal[0, 1] = 1) -> install: ...
77
+ @overload
78
+ def get_finalized_command(self, command: Literal["install_data"], create: bool | Literal[0, 1] = 1) -> install_data: ...
79
+ @overload
80
+ def get_finalized_command(
81
+ self, command: Literal["install_egg_info"], create: bool | Literal[0, 1] = 1
82
+ ) -> install_egg_info: ...
83
+ @overload
84
+ def get_finalized_command(self, command: Literal["install_headers"], create: bool | Literal[0, 1] = 1) -> install_headers: ...
85
+ @overload
86
+ def get_finalized_command(self, command: Literal["install_lib"], create: bool | Literal[0, 1] = 1) -> install_lib: ...
87
+ @overload
88
+ def get_finalized_command(self, command: Literal["install_scripts"], create: bool | Literal[0, 1] = 1) -> install_scripts: ...
89
+ @overload
90
+ def get_finalized_command(self, command: Literal["register"], create: bool | Literal[0, 1] = 1) -> register: ...
91
+ @overload
92
+ def get_finalized_command(self, command: Literal["sdist"], create: bool | Literal[0, 1] = 1) -> sdist: ...
93
+ @overload
94
+ def get_finalized_command(self, command: Literal["upload"], create: bool | Literal[0, 1] = 1) -> upload: ...
95
+ @overload
96
+ def get_finalized_command(self, command: str, create: bool | Literal[0, 1] = 1) -> Command: ...
97
+ @overload
98
+ def reinitialize_command(self, command: Literal["bdist"], reinit_subcommands: bool | Literal[0, 1] = 0) -> bdist: ...
99
+ @overload
100
+ def reinitialize_command(
101
+ self, command: Literal["bdist_dumb"], reinit_subcommands: bool | Literal[0, 1] = 0
102
+ ) -> bdist_dumb: ...
103
+ @overload
104
+ def reinitialize_command(self, command: Literal["bdist_rpm"], reinit_subcommands: bool | Literal[0, 1] = 0) -> bdist_rpm: ...
105
+ @overload
106
+ def reinitialize_command(self, command: Literal["build"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build: ...
107
+ @overload
108
+ def reinitialize_command(
109
+ self, command: Literal["build_clib"], reinit_subcommands: bool | Literal[0, 1] = 0
110
+ ) -> build_clib: ...
111
+ @overload
112
+ def reinitialize_command(self, command: Literal["build_ext"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build_ext: ...
113
+ @overload
114
+ def reinitialize_command(self, command: Literal["build_py"], reinit_subcommands: bool | Literal[0, 1] = 0) -> build_py: ...
115
+ @overload
116
+ def reinitialize_command(
117
+ self, command: Literal["build_scripts"], reinit_subcommands: bool | Literal[0, 1] = 0
118
+ ) -> build_scripts: ...
119
+ @overload
120
+ def reinitialize_command(self, command: Literal["check"], reinit_subcommands: bool | Literal[0, 1] = 0) -> check: ...
121
+ @overload
122
+ def reinitialize_command(self, command: Literal["clean"], reinit_subcommands: bool | Literal[0, 1] = 0) -> clean: ...
123
+ @overload
124
+ def reinitialize_command(self, command: Literal["config"], reinit_subcommands: bool | Literal[0, 1] = 0) -> config: ...
125
+ @overload
126
+ def reinitialize_command(self, command: Literal["install"], reinit_subcommands: bool | Literal[0, 1] = 0) -> install: ...
127
+ @overload
128
+ def reinitialize_command(
129
+ self, command: Literal["install_data"], reinit_subcommands: bool | Literal[0, 1] = 0
130
+ ) -> install_data: ...
131
+ @overload
132
+ def reinitialize_command(
133
+ self, command: Literal["install_egg_info"], reinit_subcommands: bool | Literal[0, 1] = 0
134
+ ) -> install_egg_info: ...
135
+ @overload
136
+ def reinitialize_command(
137
+ self, command: Literal["install_headers"], reinit_subcommands: bool | Literal[0, 1] = 0
138
+ ) -> install_headers: ...
139
+ @overload
140
+ def reinitialize_command(
141
+ self, command: Literal["install_lib"], reinit_subcommands: bool | Literal[0, 1] = 0
142
+ ) -> install_lib: ...
143
+ @overload
144
+ def reinitialize_command(
145
+ self, command: Literal["install_scripts"], reinit_subcommands: bool | Literal[0, 1] = 0
146
+ ) -> install_scripts: ...
147
+ @overload
148
+ def reinitialize_command(self, command: Literal["register"], reinit_subcommands: bool | Literal[0, 1] = 0) -> register: ...
149
+ @overload
150
+ def reinitialize_command(self, command: Literal["sdist"], reinit_subcommands: bool | Literal[0, 1] = 0) -> sdist: ...
151
+ @overload
152
+ def reinitialize_command(self, command: Literal["upload"], reinit_subcommands: bool | Literal[0, 1] = 0) -> upload: ...
153
+ @overload
154
+ def reinitialize_command(self, command: str, reinit_subcommands: bool | Literal[0, 1] = 0) -> Command: ...
155
+ @overload
156
+ def reinitialize_command(self, command: _CommandT, reinit_subcommands: bool | Literal[0, 1] = 0) -> _CommandT: ...
157
+ def run_command(self, command: str) -> None: ...
158
+ def get_sub_commands(self) -> list[str]: ...
159
+ def warn(self, msg: str) -> None: ...
160
+ def execute(
161
+ self, func: Callable[[Unpack[_Ts]], Unused], args: tuple[Unpack[_Ts]], msg: str | None = None, level: int = 1
162
+ ) -> None: ...
163
+ def mkpath(self, name: str, mode: int = 0o777) -> None: ...
164
+ @overload
165
+ def copy_file(
166
+ self,
167
+ infile: StrPath,
168
+ outfile: _StrPathT,
169
+ preserve_mode: bool | Literal[0, 1] = 1,
170
+ preserve_times: bool | Literal[0, 1] = 1,
171
+ link: str | None = None,
172
+ level: Unused = 1,
173
+ ) -> tuple[_StrPathT | str, bool]: ...
174
+ @overload
175
+ def copy_file(
176
+ self,
177
+ infile: BytesPath,
178
+ outfile: _BytesPathT,
179
+ preserve_mode: bool | Literal[0, 1] = 1,
180
+ preserve_times: bool | Literal[0, 1] = 1,
181
+ link: str | None = None,
182
+ level: Unused = 1,
183
+ ) -> tuple[_BytesPathT | bytes, bool]: ...
184
+ def copy_tree(
185
+ self,
186
+ infile: StrPath,
187
+ outfile: str,
188
+ preserve_mode: bool | Literal[0, 1] = 1,
189
+ preserve_times: bool | Literal[0, 1] = 1,
190
+ preserve_symlinks: bool | Literal[0, 1] = 0,
191
+ level: Unused = 1,
192
+ ) -> list[str]: ...
193
+ @overload
194
+ def move_file(self, src: StrPath, dst: _StrPathT, level: Unused = 1) -> _StrPathT | str: ...
195
+ @overload
196
+ def move_file(self, src: BytesPath, dst: _BytesPathT, level: Unused = 1) -> _BytesPathT | bytes: ...
197
+ def spawn(self, cmd: Iterable[str], search_path: bool | Literal[0, 1] = 1, level: Unused = 1) -> None: ...
198
+ @overload
199
+ def make_archive(
200
+ self,
201
+ base_name: str,
202
+ format: str,
203
+ root_dir: StrOrBytesPath | None = None,
204
+ base_dir: str | None = None,
205
+ owner: str | None = None,
206
+ group: str | None = None,
207
+ ) -> str: ...
208
+ @overload
209
+ def make_archive(
210
+ self,
211
+ base_name: StrPath,
212
+ format: str,
213
+ root_dir: StrOrBytesPath,
214
+ base_dir: str | None = None,
215
+ owner: str | None = None,
216
+ group: str | None = None,
217
+ ) -> str: ...
218
+ def make_file(
219
+ self,
220
+ infiles: str | list[str] | tuple[str, ...],
221
+ outfile: StrOrBytesPath,
222
+ func: Callable[[Unpack[_Ts]], Unused],
223
+ args: tuple[Unpack[_Ts]],
224
+ exec_msg: str | None = None,
225
+ skip_msg: str | None = None,
226
+ level: Unused = 1,
227
+ ) -> None: ...
228
+ def ensure_finalized(self) -> None: ...
229
+ def dump_options(self, header: Incomplete | None = None, indent: str = "") -> None: ...
@@ -1,48 +1,48 @@
1
- import sys
2
-
3
- from . import (
4
- bdist,
5
- bdist_dumb,
6
- bdist_rpm,
7
- build,
8
- build_clib,
9
- build_ext,
10
- build_py,
11
- build_scripts,
12
- check,
13
- clean,
14
- install,
15
- install_data,
16
- install_headers,
17
- install_lib,
18
- install_scripts,
19
- register,
20
- sdist,
21
- upload,
22
- )
23
-
24
- __all__ = [
25
- "build",
26
- "build_py",
27
- "build_ext",
28
- "build_clib",
29
- "build_scripts",
30
- "clean",
31
- "install",
32
- "install_lib",
33
- "install_headers",
34
- "install_scripts",
35
- "install_data",
36
- "sdist",
37
- "register",
38
- "bdist",
39
- "bdist_dumb",
40
- "bdist_rpm",
41
- "check",
42
- "upload",
43
- ]
44
-
45
- if sys.version_info < (3, 10):
46
- from . import bdist_wininst
47
-
48
- __all__ += ["bdist_wininst"]
1
+ import sys
2
+
3
+ from . import (
4
+ bdist,
5
+ bdist_dumb,
6
+ bdist_rpm,
7
+ build,
8
+ build_clib,
9
+ build_ext,
10
+ build_py,
11
+ build_scripts,
12
+ check,
13
+ clean,
14
+ install,
15
+ install_data,
16
+ install_headers,
17
+ install_lib,
18
+ install_scripts,
19
+ register,
20
+ sdist,
21
+ upload,
22
+ )
23
+
24
+ __all__ = [
25
+ "build",
26
+ "build_py",
27
+ "build_ext",
28
+ "build_clib",
29
+ "build_scripts",
30
+ "clean",
31
+ "install",
32
+ "install_lib",
33
+ "install_headers",
34
+ "install_scripts",
35
+ "install_data",
36
+ "sdist",
37
+ "register",
38
+ "bdist",
39
+ "bdist_dumb",
40
+ "bdist_rpm",
41
+ "check",
42
+ "upload",
43
+ ]
44
+
45
+ if sys.version_info < (3, 10):
46
+ from . import bdist_wininst
47
+
48
+ __all__ += ["bdist_wininst"]
@@ -1,27 +1,27 @@
1
- from _typeshed import Incomplete, Unused
2
- from collections.abc import Callable
3
- from typing import ClassVar
4
-
5
- from ..cmd import Command
6
-
7
- def show_formats() -> None: ...
8
-
9
- class bdist(Command):
10
- description: str
11
- user_options: ClassVar[list[tuple[str, str | None, str]]]
12
- boolean_options: ClassVar[list[str]]
13
- help_options: ClassVar[list[tuple[str, str | None, str, Callable[[], Unused]]]]
14
- no_format_option: ClassVar[tuple[str, ...]]
15
- default_format: ClassVar[dict[str, str]]
16
- format_commands: ClassVar[list[str]]
17
- format_command: ClassVar[dict[str, tuple[str, str]]]
18
- bdist_base: Incomplete
19
- plat_name: Incomplete
20
- formats: Incomplete
21
- dist_dir: Incomplete
22
- skip_build: int
23
- group: Incomplete
24
- owner: Incomplete
25
- def initialize_options(self) -> None: ...
26
- def finalize_options(self) -> None: ...
27
- def run(self) -> None: ...
1
+ from _typeshed import Incomplete, Unused
2
+ from collections.abc import Callable
3
+ from typing import ClassVar
4
+
5
+ from ..cmd import Command
6
+
7
+ def show_formats() -> None: ...
8
+
9
+ class bdist(Command):
10
+ description: str
11
+ user_options: ClassVar[list[tuple[str, str | None, str]]]
12
+ boolean_options: ClassVar[list[str]]
13
+ help_options: ClassVar[list[tuple[str, str | None, str, Callable[[], Unused]]]]
14
+ no_format_option: ClassVar[tuple[str, ...]]
15
+ default_format: ClassVar[dict[str, str]]
16
+ format_commands: ClassVar[list[str]]
17
+ format_command: ClassVar[dict[str, tuple[str, str]]]
18
+ bdist_base: Incomplete
19
+ plat_name: Incomplete
20
+ formats: Incomplete
21
+ dist_dir: Incomplete
22
+ skip_build: int
23
+ group: Incomplete
24
+ owner: Incomplete
25
+ def initialize_options(self) -> None: ...
26
+ def finalize_options(self) -> None: ...
27
+ def run(self) -> None: ...
@@ -1,22 +1,22 @@
1
- from _typeshed import Incomplete
2
- from typing import ClassVar
3
-
4
- from ..cmd import Command
5
-
6
- class bdist_dumb(Command):
7
- description: str
8
- user_options: ClassVar[list[tuple[str, str | None, str]]]
9
- boolean_options: ClassVar[list[str]]
10
- default_format: ClassVar[dict[str, str]]
11
- bdist_dir: Incomplete
12
- plat_name: Incomplete
13
- format: Incomplete
14
- keep_temp: int
15
- dist_dir: Incomplete
16
- skip_build: Incomplete
17
- relative: int
18
- owner: Incomplete
19
- group: Incomplete
20
- def initialize_options(self) -> None: ...
21
- def finalize_options(self) -> None: ...
22
- def run(self) -> None: ...
1
+ from _typeshed import Incomplete
2
+ from typing import ClassVar
3
+
4
+ from ..cmd import Command
5
+
6
+ class bdist_dumb(Command):
7
+ description: str
8
+ user_options: ClassVar[list[tuple[str, str | None, str]]]
9
+ boolean_options: ClassVar[list[str]]
10
+ default_format: ClassVar[dict[str, str]]
11
+ bdist_dir: Incomplete
12
+ plat_name: Incomplete
13
+ format: Incomplete
14
+ keep_temp: int
15
+ dist_dir: Incomplete
16
+ skip_build: Incomplete
17
+ relative: int
18
+ owner: Incomplete
19
+ group: Incomplete
20
+ def initialize_options(self) -> None: ...
21
+ def finalize_options(self) -> None: ...
22
+ def run(self) -> None: ...