Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 413a49145e35c7a2d3a7de27c5a1828449c9b2e5 authored by Benjamin Peterson on 02 March 2019, 18:17:42 UTC
Set version to 2.7.16 final.
Tip revision: 413a491
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