churchyard / rpms / python38

Forked from rpms/python38 5 years ago
Clone
826480a
From 736a0ca9fd2ee3f74ebdef187c5616288cc70351 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
7fd9466
index 3a616883be..ba299a4028 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