2016-12-11 18:35:07 -04:00
|
|
|
"""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"
|
|
|
|
|
2018-09-20 17:38:34 -03:00
|
|
|
# Marker for tests that we have the unsupported bdist_wininst
|
|
|
|
_unsupported = True
|
|
|
|
|
2016-12-11 18:35:07 -04:00
|
|
|
def initialize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def finalize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
raise DistutilsPlatformError("bdist_wininst is not supported "
|
|
|
|
"in this Python distribution")
|