mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Adds bdist_wininst definition (#7249)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user