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

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