blob: 548fdd0cc432eecf4d15ddbaee03bbeb321e5c77 [file] [log] [blame]
Steve Dowere711cc02016-12-11 14:35:07 -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
Steve Dowerf14c28f2018-09-20 13:38:34 -070012 # Marker for tests that we have the unsupported bdist_wininst
13 _unsupported = True
14
Steve Dowere711cc02016-12-11 14:35:07 -080015 def initialize_options(self):
16 pass
17
18 def finalize_options(self):
19 pass
20
21 def run(self):
22 raise DistutilsPlatformError("bdist_wininst is not supported "
23 "in this Python distribution")