Files
MINGW-packages/mingw-w64-python/0062-disable-readline.patch
2023-02-10 12:56:41 +01:00

27 lines
906 B
Diff

From 48cbc211bb82826b45651c80e46925ad2bb2d645 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 17 Jun 2021 18:52:17 +0530
Subject: [PATCH 062/N] disable readline
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: Алексей <alexey.pawlow@gmail.com>
---
setup.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/setup.py b/setup.py
index f1b54aa..41c463a 100644
--- a/setup.py
+++ b/setup.py
@@ -1169,6 +1169,8 @@ class PyBuildExt(build_ext):
# readline package
if find_file('readline/rlconf.h', self.inc_dirs, []) is None:
do_readline = False
+ if MS_WINDOWS:
+ do_readline = False
if do_readline:
if MACOS and os_release < 9:
# In every directory on the search path search for a dynamic