churchyard / rpms / python38

Forked from rpms/python38 5 years ago
Clone
ec69e79
From b4bb0385ffcfafb2a203b0863777b135d37feb3a Mon Sep 17 00:00:00 2001
7fd9466
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
7fd9466
Date: Thu, 20 Dec 2018 12:46:25 +0100
74db11e
Subject: [PATCH 7/7] 00316: Mark bdist_wininst unsupported
7fd9466
7fd9466
We remove the exe files from distutil's bdist_wininst.
7fd9466
So we mark the command as unsupported - and the tests are skipped.
7fd9466
---
7fd9466
 Lib/distutils/command/bdist_wininst.py | 2 ++
7fd9466
 1 file changed, 2 insertions(+)
7fd9466
15d5b5c
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
ec69e79
index acaa184b5f..6b458cb364 100644
15d5b5c
--- a/Lib/distutils/command/bdist_wininst.py
15d5b5c
+++ b/Lib/distutils/command/bdist_wininst.py
15d5b5c
@@ -12,6 +12,8 @@ from distutils.sysconfig import get_python_version
15d5b5c
 from distutils import log
15d5b5c
 
15d5b5c
 class bdist_wininst(Command):
15d5b5c
+    # Marker for tests that we have the unsupported bdist_wininst
15d5b5c
+    _unsupported = True
15d5b5c
 
15d5b5c
     description = "create an executable installer for MS Windows"
15d5b5c
 
7fd9466
-- 
7fd9466
2.21.0
7fd9466