Skip to content

Commit

Permalink
Try force installing universal2 libs
Browse files Browse the repository at this point in the history
This is experimental, pyinstaller reports errors with pyside6 but it still seems to run on an M2 Mac - to be seen if it works on Intel too.
  • Loading branch information
machinewrapped committed Aug 12, 2023
1 parent 6246a65 commit 7211825
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions makedistro-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,5 @@

source envsubtrans/bin/activate
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib pyinstaller
pip install --upgrade -r requirements.txt
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib regex
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib srt
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib charset_normalizer
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib multidict
pip install --platform=universal2 --no-deps --upgrade --target ./envsubtrans/lib aiohttp
pip install --platform=universal2 --no-deps --upgrade --force-reinstall --target ./envsubtrans/lib -r requirements.txt
pyinstaller --paths="./envsubtrans/lib" --add-data "theme/*:theme/" --add-data "instructions*:." --add-data "LICENSE:." --target-arch universal2 --noconfirm gui-subtrans.py

0 comments on commit 7211825

Please sign in to comment.