churchyard / rpms / python38

Forked from rpms/python38 2 years ago
Clone
13257b5
From b4bb0385ffcfafb2a203b0863777b135d37feb3a Mon Sep 17 00:00:00 2001
285f554
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
285f554
Date: Thu, 20 Dec 2018 12:46:25 +0100
7aab0dd
Subject: [PATCH 7/7] 00316: Mark bdist_wininst unsupported
285f554
285f554
We remove the exe files from distutil's bdist_wininst.
285f554
So we mark the command as unsupported - and the tests are skipped.
285f554
---
285f554
 Lib/distutils/command/bdist_wininst.py | 2 ++
285f554
 1 file changed, 2 insertions(+)
285f554
15d5b5c
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
13257b5
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
 
285f554
-- 
285f554
2.21.0
285f554