diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-11 22:48:32 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-11 22:48:32 (GMT) |
commit | b227227cb574a7bad6ed6d5cfc3ef23b10b1919f (patch) | |
tree | 0612d836da68c45bf74bbd239cbfb2223c36f7b1 /Tools/msi/distutils.command.bdist_wininst.py | |
parent | 4cc30ae31341ba233a861899be7d225519c71830 (diff) | |
parent | e711cc0f222ce22bad0ee84b3d27eccc2ad8b63d (diff) | |
download | cpython-b227227cb574a7bad6ed6d5cfc3ef23b10b1919f.zip cpython-b227227cb574a7bad6ed6d5cfc3ef23b10b1919f.tar.gz cpython-b227227cb574a7bad6ed6d5cfc3ef23b10b1919f.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") |