Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 08bd63da6e64c49130d244ecf8f246089b9c5d9f authored by Ɓukasz Langa on 07 September 2020, 15:52:19 UTC
Python 3.8.6rc1
Tip revision: 08bd63d
distutils.command.bdist_wininst.py
"""distutils.command.bdist_wininst

Suppresses the 'bdist_wininst' command, while still allowing
setuptools to import it without breaking."""

from distutils.core import Command
from distutils.errors import DistutilsPlatformError

class bdist_wininst(Command):
    description = "create an executable installer for MS Windows"

    # Marker for tests that we have the unsupported bdist_wininst
    _unsupported = True

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        raise DistutilsPlatformError("bdist_wininst is not supported "
            "in this Python distribution")
back to top