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
This commit is contained in:
Peter Šurda 2020-08-28 13:52:31 +02:00
parent 2c5d15e649
commit 39d28b9b0f
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -99,7 +99,8 @@ function install_pyinstaller()
cd "${BASE_DIR}" || exit 1 cd "${BASE_DIR}" || exit 1
echo "Installing PyInstaller" echo "Installing PyInstaller"
if [ "${MACHINE_TYPE}" == 'x86_64' ]; then 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 else
# 3.2.1 is the last version to work on XP # 3.2.1 is the last version to work on XP
# see https://github.com/pyinstaller/pyinstaller/issues/2931 # see https://github.com/pyinstaller/pyinstaller/issues/2931