-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtk.spec
More file actions
39 lines (36 loc) · 880 Bytes
/
Copy pathtk.spec
File metadata and controls
39 lines (36 loc) · 880 Bytes
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
block_cipher = None
a = Analysis(
['tk.py'],
pathex=[],
binaries=[],
datas=[
('fa.json', 'database'),
('fa_backup.json', 'backup'),
('tj.json', 'database'),
('tj_backup.json', 'backup'),
('eng.json', 'database'),
('eng_backup.json', 'backup'),
('bg.png', 'assets'),
('icon.ico', 'assets'), # only keep this if you are compiling for windows
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='tk',
debug=False,
strip=False,
upx=True,
console=False,
icon='icon.ico', # only keep this if you are compiling for windows
)