diff --git a/stubs/setuptools/@tests/stubtest_allowlist.txt b/stubs/setuptools/@tests/stubtest_allowlist.txt index 5f259d46e..19cb1097d 100644 --- a/stubs/setuptools/@tests/stubtest_allowlist.txt +++ b/stubs/setuptools/@tests/stubtest_allowlist.txt @@ -27,9 +27,6 @@ pkg_resources.py31compat pkg_resources.split_sections pkg_resources.to_filename -# Only available on Windows -setuptools._distutils.command.bdist_msi - # Unclear import from stdlib/sub-classing related error setuptools._distutils.core.Distribution.parse_config_files diff --git a/stubs/setuptools/setuptools/_distutils/command/bdist_msi.pyi b/stubs/setuptools/setuptools/_distutils/command/bdist_msi.pyi deleted file mode 100644 index 66202e841..000000000 --- a/stubs/setuptools/setuptools/_distutils/command/bdist_msi.pyi +++ /dev/null @@ -1,45 +0,0 @@ -import sys -from typing import Any - -from ..cmd import Command - -if sys.platform == "win32": - from msilib import Dialog - - class PyDialog(Dialog): - def __init__(self, *args, **kw) -> None: ... - def title(self, title) -> None: ... - def back(self, title, next, name: str = ..., active: int = ...): ... - def cancel(self, title, next, name: str = ..., active: int = ...): ... - def next(self, title, next, name: str = ..., active: int = ...): ... - def xbutton(self, name, title, next, xpos): ... - - class bdist_msi(Command): - description: str - user_options: Any - boolean_options: Any - all_versions: Any - other_version: str - if sys.version_info >= (3, 9): - def __init__(self, *args, **kw) -> None: ... - bdist_dir: Any - plat_name: Any - keep_temp: int - no_target_compile: int - no_target_optimize: int - target_version: Any - dist_dir: Any - skip_build: Any - install_script: Any - pre_install_script: Any - versions: Any - def initialize_options(self) -> None: ... - install_script_key: Any - def finalize_options(self) -> None: ... - db: Any - def run(self) -> None: ... - def add_files(self) -> None: ... - def add_find_python(self) -> None: ... - def add_scripts(self) -> None: ... - def add_ui(self) -> None: ... - def get_installer_filename(self, fullname): ...