python3/00316-mark-bdist_wininst-unsupported.patch
2019-06-05 09:35:21 +02:00

28 lines
955 B
Diff

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