Blame SOURCES/00316-mark-bdist_wininst-unsupported.patch

71928b
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
71928b
index fde5675..15434c3 100644
71928b
--- a/Lib/distutils/command/bdist_wininst.py
71928b
+++ b/Lib/distutils/command/bdist_wininst.py
71928b
@@ -55,6 +55,9 @@ class bdist_wininst(Command):
71928b
     boolean_options = ['keep-temp', 'no-target-compile', 'no-target-optimize',
71928b
                        'skip-build']
71928b
 
71928b
+    # bpo-10945: bdist_wininst requires mbcs encoding only available on Windows
71928b
+    _unsupported = (sys.platform != "win32")
71928b
+
71928b
     def initialize_options(self):
71928b
         self.bdist_dir = None
71928b
         self.plat_name = None