blob: d586e34fec822f95d1a56fea3de7e5cbc0584bf8 [file] [log] [blame]
Steve Dowera535d682016-12-19 14:31:27 -08001"""distutils.command.bdist_wininst
2
3Suppresses the 'bdist_wininst' command, while still allowing
4setuptools to import it without breaking."""
5
6from distutils.core import Command
7from distutils.errors import DistutilsPlatformError
8
9class bdist_wininst(Command):
10 description = "create an executable installer for MS Windows"
11
12 def initialize_options(self):
13 pass
14
15 def finalize_options(self):
16 pass
17
18 def run(self):
19 raise DistutilsPlatformError("bdist_wininst is not supported "
20 "in this Python distribution")