From f65b7fbada8426bb01f4df7d7e988bc204e9bb71 Mon Sep 17 00:00:00 2001 From: Alexander Kozlovsky Date: Wed, 24 Apr 2024 06:52:11 +0200 Subject: [PATCH] Fix PyInstaller issue on Mac --- build/mac/makedist_macos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/mac/makedist_macos.sh b/build/mac/makedist_macos.sh index e15e9a86c2..b8b411a6c6 100755 --- a/build/mac/makedist_macos.sh +++ b/build/mac/makedist_macos.sh @@ -22,7 +22,8 @@ export RESOURCES=build/mac/resources python3 -m venv build-env . ./build-env/bin/activate python3 -m pip install pip==23.0.1 # pin pip version to avoid "--no-use-pep517" issues with the latest version -python3 -m pip install PyInstaller==4.2 --no-use-pep517 +python3 -m pip install pyinstaller-hooks-contrib==2024.4 # for more recent version it needs PyInstaller>=5.0 +python3 -m pip install PyInstaller==4.2 --no-use-pep517 # requires pyinstaller-hooks-contrib>=2020.6, broke on 2024.5 python3 -m pip install --upgrade -r requirements-build.txt # ----- Build