Adds bdist_wininst definition (#7249)

This commit is contained in:
Nikita Sobolev
2022-02-21 09:58:48 +03:00
committed by GitHub
parent e2524b0e96
commit 4d169eaa83
6 changed files with 21 additions and 8 deletions

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",

View File

@@ -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: ...