commit 2d2cba58fa65d355bfc3040143734c9a9ce8c55b
parent 24cd7eb5c68b70c2e15c410bfdc3aa406df8b2b2
Author: ganten7 <ganten7@users.noreply.github.com>
Date: Sun, 14 Dec 2025 00:36:46 -0600
Exclude optional Qt frameworks that cause symlink conflicts in macOS build
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -171,7 +171,7 @@ jobs:
- name: Build .app bundle
run: |
# PyInstaller with --windowed creates .app bundle automatically
- # Collect all PyQt5 components including frameworks and plugins
+ # Use targeted imports - PyInstaller auto-detects frameworks for hidden imports
python -m PyInstaller --onedir --windowed --name Ivory \
--icon=icons/ivory.png \
--add-data "icons:icons" \
@@ -179,12 +179,9 @@ jobs:
--hidden-import PyQt5.QtCore \
--hidden-import PyQt5.QtGui \
--hidden-import PyQt5.QtWidgets \
- --collect-all PyQt5 \
- --collect-submodules PyQt5 \
+ --hidden-import PyQt5.sip \
--hidden-import mido \
--hidden-import rtmidi \
- --collect-all mido \
- --collect-all rtmidi \
--exclude-module tkinter \
--exclude-module matplotlib \
--exclude-module numpy \