Issue #28783: Replaces bdist_wininst in nuget packages with stub

This commit is contained in:
Steve Dower 2016-12-11 14:35:07 -08:00
parent 8b58339eb2
commit e711cc0f22
3 changed files with 22 additions and 38 deletions

View file

@ -0,0 +1,20 @@
"""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"
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
raise DistutilsPlatformError("bdist_wininst is not supported "
"in this Python distribution")