-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
macos_build-arm64.spec
76 lines (69 loc) · 1.93 KB
/
macos_build-arm64.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[('Model/Version/version.json', 'Model/Version'), ('GUI/Help/Data/get_started.md', 'GUI/Help/Data'),
('GUI/About/credits.md', 'GUI/About')],
hiddenimports=['tendo'],
hookspath=[],
runtime_hooks=[],
excludes=['PySide6'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
a.datas += Tree('Model/Data', prefix='Model/Data')
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
exclude_binaries=True,
name='eqfreq',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=False,
argv_emulation=False,
target_arch='arm64',
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=False,
upx_exclude=[],
name='eqfreq',
)
app = BUNDLE(
coll,
name='EarQuiz Frequencies.app',
icon='GUI/Icons/Logo/EarQuiz_Icon.icns',
info_plist={
'CFBundleDisplayName': 'EarQuiz Frequencies',
'CFBundleExecutable': 'eqfreq',
'CFBundleInfoDictionaryVersion': '6.0',
'CFBundleName': 'EarQuiz Frequencies',
'CFBundlePackageType': 'APPL',
'CFBundleSignature': 'EQFREQ',
'CFBundleIdentifier': 'org.earquiz.frequencies',
'CFBundleShortVersionString': '0.1.7',
'NSHighResolutionCapable': True,
'LSMinimumSystemVersion': '12.0.0',
'CFBundleDevelopmentRegion': 'en_US',
'CFBundleDocumentTypes': [{
'CFBundleTypeName': 'EarQuiz_Frequencies_Audio',
'CFBundleTypeExtensions': ['wav', 'flac', 'mp3', 'ogg', 'aiff', 'pls', 'xspf', 'm3u', 'm3u8',],
'CFBundleTypeRole': "Viewer",
}],
'NSHumanReadableCopyright': '© 2023-2024 Gdaliy Garmiza',
'NSPrincipalClass': 'NSApplication'
},
)