Skip to content

Commit 40d28db

Browse files
committed
remove unused qt files
1 parent 1b0d440 commit 40d28db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pyinstaller.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ jobs:
6262
cache: pip
6363
- name: Install Dependencies
6464
run: pip install -e .[build_app]
65+
- name: Remove unused Qt files
66+
run: |
67+
mv $pythonLocation/lib/site-packages/PyQt6/Qt6/bin $pythonLocation/lib/site-packages/PyQt6/Qt6/bin_
68+
mkdir $pythonLocation/lib/site-packages/PyQt6/Qt6/bin
69+
mv $pythonLocation/lib/site-packages/PyQt6/Qt6/bin_/Qt6Core.dll $pythonLocation/lib/site-packages/PyQt6/Qt6/bin
70+
mv $pythonLocation/lib/site-packages/PyQt6/Qt6/bin_/Qt6Widgets.dll $pythonLocation/lib/site-packages/PyQt6/Qt6/bin
71+
mv $pythonLocation/lib/site-packages/PyQt6/Qt6/bin_/Qt6Gui.dll $pythonLocation/lib/site-packages/PyQt6/Qt6/bin
72+
mv $pythonLocation/lib/site-packages/PyQt6/Qt6/translations $pythonLocation/lib/site-packages/PyQt6/Qt6/translations_
6573
- name: Package Application
6674
run: >-
6775
pyinstaller

0 commit comments

Comments
 (0)