-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathudj_cli_macos.spec
More file actions
88 lines (81 loc) · 1.55 KB
/
udj_cli_macos.spec
File metadata and controls
88 lines (81 loc) · 1.55 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
# -*- mode: python ; coding: utf-8 -*-
"""
PyInstaller spec file for Universal DJ USB CLI - macOS
Optimized for macOS binary (onedir)
"""
# Libraries to exclude - CLI doesn't need GUI frameworks
cli_excludes = [
# GUI frameworks
'tkinter',
'PyQt4',
'PyQt5',
'PySide6',
'wx',
'kivy',
# Scientific/ML libraries
'numpy',
'scipy',
'pandas',
'matplotlib',
'seaborn',
'sklearn',
'torch',
'tensorflow',
'cv2',
'PIL',
'Pillow',
# Development tools
'pytest',
'coverage',
'mypy',
'black',
'isort',
'flake8',
'sphinx',
'docutils',
'setuptools',
'pkg_resources',
'distutils',
'pip',
'wheel',
'tox',
'virtualenv',
# System modules we don't need
'_bootlocale',
]
a = Analysis(
['udj_cli.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=cli_excludes,
noarchive=False,
optimize=2,
)
pyz = PYZ(a.pure)
# macOS onefile executable (includes all binaries like main branch)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='udj',
debug=False,
bootloader_ignore_signals=False,
strip=True,
upx=False,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='src/universal_dj_usb/assets/icons/icono_1024x1024_1024x1024.icns',
)