From d623382976331f1abcdd8ab5e0736b6051ca39b9 Mon Sep 17 00:00:00 2001 From: Eero af Heurlin Date: Fri, 11 Sep 2020 13:04:00 +0000 Subject: [PATCH] Output the message to stderr so it does not break requirements.txt generation by redirecting stdout --- .../recipes/hostpython3/patches/pyconfig_detection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch b/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch index 087ab586ad..7f78b664e1 100644 --- a/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch +++ b/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch @@ -7,7 +7,7 @@ diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py elif key == 'home': - sys._home = value + # this is breaking pyconfig.h path detection with venv -+ print('Ignoring "sys._home = value" override') ++ print('Ignoring "sys._home = value" override', file=sys.stderr) sys.prefix = sys.exec_prefix = site_prefix