1"""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") 21