churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 00316-mark-bdist_wininst-unsupported.patch

bae5e50
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
256657e
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
256657e
Date: Fri, 19 Jun 2020 16:16:41 +0200
256657e
Subject: [PATCH] 00316: Mark bdist_wininst unsupported
256657e
256657e
We remove the exe files from distutil's bdist_wininst
256657e
So we mark the command as unsupported - and the tests are skipped
256657e
---
256657e
 Lib/distutils/command/bdist_wininst.py | 2 ++
256657e
 1 file changed, 2 insertions(+)
256657e
15d5b5c
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
256657e
index 15434c3a98..829c1c6803 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