-
Notifications
You must be signed in to change notification settings - Fork 11
/
librarian.spec
37 lines (33 loc) · 909 Bytes
/
librarian.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
# -*- mode: python -*-
import sys
added_files = [
( 'static', 'static' ),
( 'templates', 'templates' )
]
a = Analysis(['Traktor Librarian.py'],
datas=added_files,
hiddenimports=[],
hookspath=None,
runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
name='Traktor Librarian',
icon='icon.ico',
debug=False,
strip=None,
upx=True,
console=True )
if sys.platform == "win32":
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='librarian')
elif sys.platform == "darwin":
app = BUNDLE(exe,
name='Librarian.app',
icon='icon.icns',
bundle_identifier='Librarian')