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:
parent
2c5d15e649
commit
39d28b9b0f
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user