churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

Files

Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
Date: Fri, 19 Jun 2020 16:16:41 +0200
Subject: [PATCH] 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 15434c3a98..829c1c6803 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"