Fix update check on macOS (#595)

* buildPy2app: add charset_normalizer to includes

* Actions macOS: force universal wheels for charset-normalizer

* buildPy2app: add charset_normalizer.md__mypyc to includes

---------

Co-authored-by: Alberto Sottile <alby128@gmail.com>
This commit is contained in:
Etoh 2023-03-19 22:13:26 +00:00 committed by GitHub
parent 0571819135
commit f249051e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -104,6 +104,10 @@ jobs:
pip3 download --platform macosx_10_10_universal2 --only-binary :all: --no-deps --dest . cryptography
pip3 install --no-cache-dir --no-index --find-links . cryptography
pip3 uninstall charset-normalizer -y
pip3 download --platform macosx_10_9_universal2 --only-binary :all: --no-deps --dest . charset-normalizer
pip3 install --no-cache-dir --no-index --find-links . charset-normalizer
- name: Check Python dependencies
run: |
python3 -c "from PySide6 import __version__; print(__version__)"

View File

@ -17,7 +17,7 @@ DATA_FILES = [
OPTIONS = {
'iconfile': 'syncplay/resources/icon.icns',
'extra_scripts': 'syncplayServer.py',
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui', 'PySide2.QtWidgets', 'certifi', 'cffi', 'pem'},
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui', 'PySide2.QtWidgets', 'certifi', 'cffi', 'pem', 'charset_normalizer.md__mypyc'},
'excludes': {'PySide', 'PySide.QtCore', 'PySide.QtUiTools', 'PySide.QtGui', 'tkinter'},
'qt_plugins': [
'platforms/libqcocoa.dylib',