Files
MINGW-packages/mingw-w64-python/0062-disable-readline.patch
Christoph Reiter 4177c0198b python: Update to 3.10.8
See https://github.com/msys2-contrib/cpython-mingw/pull/110

update-patches: remove git version signature to keep the diff smaller
2022-10-15 15:57:24 +02:00

27 lines
906 B
Diff

From 1f53554e26ad15a0ae1162b68f8aa5174f79c0dd 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 9340053..dd3d902 100644
--- a/setup.py
+++ b/setup.py
@@ -1166,6 +1166,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