Skip to content

Commit

Permalink
Merge pull request #8003 from kozlovsky/fix/py_installer_on_mac
Browse files Browse the repository at this point in the history
Fix binary building on Mac with PyInstaller
  • Loading branch information
kozlovsky authored Apr 24, 2024
2 parents 9a16756 + f65b7fb commit 30afec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/mac/makedist_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30afec6

Please sign in to comment.