summaryrefslogtreecommitdiffstats
path: root/Tools/msi/distutils.command.bdist_wininst.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/msi/distutils.command.bdist_wininst.py')
-rw-r--r--Tools/msi/distutils.command.bdist_wininst.py20
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")