diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-11 22:35:07 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-11 22:35:07 (GMT) |
commit | e711cc0f222ce22bad0ee84b3d27eccc2ad8b63d (patch) | |
tree | 9f002516354af79263cdc00625118558692ae2a7 /Tools/msi/distutils.command.bdist_wininst.py | |
parent | 8b58339eb2939da4df822f7ea457b44e120fad45 (diff) | |
download | cpython-e711cc0f222ce22bad0ee84b3d27eccc2ad8b63d.zip cpython-e711cc0f222ce22bad0ee84b3d27eccc2ad8b63d.tar.gz cpython-e711cc0f222ce22bad0ee84b3d27eccc2ad8b63d.tar.bz2 |
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Diffstat (limited to 'Tools/msi/distutils.command.bdist_wininst.py')
-rw-r--r-- | Tools/msi/distutils.command.bdist_wininst.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Tools/msi/distutils.command.bdist_wininst.py b/Tools/msi/distutils.command.bdist_wininst.py new file mode 100644 index 0000000..d586e34 --- /dev/null +++ b/Tools/msi/distutils.command.bdist_wininst.py @@ -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") |