From 39d28b9b0f2cbf936eaf94a6fe2323cf32fdf046 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Fri, 28 Aug 2020 13:52:31 +0200 Subject: [PATCH] Downgrade pyinstaller for python 2.7 compatibility - pyinstaller 3.6 is the last one supporting python 2.7 so we're forcing it for 64bit windows builds --- buildscripts/winbuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildscripts/winbuild.sh b/buildscripts/winbuild.sh index 66beea65..43d8cf34 100755 --- a/buildscripts/winbuild.sh +++ b/buildscripts/winbuild.sh @@ -99,7 +99,8 @@ function install_pyinstaller() cd "${BASE_DIR}" || exit 1 echo "Installing PyInstaller" if [ "${MACHINE_TYPE}" == 'x86_64' ]; then - wine python -m pip install pyinstaller + # 3.6 is the last version to support python 2.7 + wine python -m pip install -I pyinstaller==3.6 else # 3.2.1 is the last version to work on XP # see https://github.com/pyinstaller/pyinstaller/issues/2931