Skip to content

Commit 6ef15cc

Browse files
committed
fix(build): remove pyqt5-tools and pygame to fix macOS ARM64 qt5 qmake compilation error
1 parent 401d75e commit 6ef15cc

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

main-macos.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ a = Analysis(
3232
datas=data_files,
3333
hiddenimports=[
3434
'PIL', 'PIL.Image',
35-
'pydub', 'PyQt5', 'numpy', 'pygame', 'qasync', 'mutagen', 'pyimgur', 'dotenv', 'pyqtgraph', 'pypresence'
35+
'pydub', 'PyQt5', 'numpy', 'qasync', 'mutagen', 'pyimgur', 'dotenv', 'pyqtgraph', 'pypresence'
3636
],
3737
hookspath=[],
3838
hooksconfig={},

main.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ a = Analysis(
2929
pathex=['core', 'ui'],
3030
binaries=[],
3131
datas=data_files,
32-
hiddenimports=[],
32+
hiddenimports=[
33+
'PIL', 'PIL.Image',
34+
'pydub', 'PyQt5', 'numpy', 'qasync', 'mutagen', 'pyimgur', 'dotenv', 'pyqtgraph', 'pypresence'
35+
],
3336
hookspath=[],
3437
hooksconfig={},
3538
runtime_hooks=[],

requirements-mac.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
PyQt5
2-
PyQt5-Qt5
3-
PyQt5-sip
4-
PyQt5-stubs
5-
pyqt5-tools
62
pyqtgraph
7-
pygame
83
pydub
94
mutagen
105
numpy

requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
PyQt5
2-
pyqt5-plugins
3-
PyQt5-Qt5
4-
PyQt5-sip
5-
PyQt5-stubs
6-
pyqt5-tools
72
pyqtgraph
8-
pygame
93
pydub
104
mutagen
115
numpy

0 commit comments

Comments
 (0)