Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: abb88023896f545b18d20c7d0d5934b11230a12f authored by Ned Deily on 30 May 2018, 23:50:49 UTC
3.7.0b5
Tip revision: abb8802
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"

    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