Adds bdist_wininst definition (#7249)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-02-20 22:58:48 -08:00
1 parent e2524b0e96
commit 4d169eaa83
6 files changed
+21 -8

No files matched your search

+5
View File
@@ -1,3 +1,5 @@
import sys
from . import (
bdist_dumb as bdist_dumb,
bdist_rpm as bdist_rpm,
@@ -17,6 +19,9 @@ from . import (
upload as upload,
)
if sys.version_info < (3, 10):
from . import bdist_wininst as bdist_wininst
__all__ = [
"build",
"build_py",
@@ -0,0 +1,16 @@
from _typeshed import StrOrBytesPath
from distutils.cmd import Command
from typing import Any, ClassVar
class bdist_wininst(Command):
description: ClassVar[str]
user_options: ClassVar[list[tuple[Any, ...]]]
boolean_options: ClassVar[list[str]]
def initialize_options(self) -> None: ...
def finalize_options(self) -> None: ...
def run(self) -> None: ...
def get_inidata(self) -> str: ...
def create_exe(self, arcname: StrOrBytesPath, fullname: str, bitmap: StrOrBytesPath | None = ...) -> None: ...
def get_installer_filename(self, fullname: str) -> str: ...
def get_exe_bytes(self) -> bytes: ...