churchyard / rpms / python38

Forked from rpms/python38 2 years ago
Clone
7fd9466
From 1ef328c38ad0ef7fad1652edddd3710885b0a778 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
7fd9466
Subject: [PATCH 9/9] 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