Files
MINGW-packages/mingw-w64-python/0062-disable-readline.patch
Christoph Reiter a703df8afe python: Update to 3.10.11
Fixes #16670
2023-04-07 18:10:55 +02:00

27 lines
906 B
Diff

From 2ee61a7ec412a0552ca0677ed2447a5c4d82a55c 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