| """distutils.command.bdist_wininst |
| Suppress 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 |
| def initialize_options(self): |
| def finalize_options(self): |
| raise DistutilsPlatformError( |
| "bdist_wininst is not supported in this Python distribution" |