-
Notifications
You must be signed in to change notification settings - Fork 6
/
shrinko.spec
89 lines (80 loc) · 1.88 KB
/
shrinko.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
77
78
79
80
81
82
83
84
85
86
87
88
89
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
hidden_imports = ['pico_utils']
excludes = ['packaging']
ana = Analysis(
['shrinko8.py'],
pathex=[],
binaries=[],
datas=[('template.png', '.'), ('font.png', '.')],
hiddenimports=hidden_imports,
excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=True,
)
ana_tron = Analysis(
['shrinkotron.py'],
pathex=[],
binaries=[],
datas=[('template64.png', '.'), ('font64.png', '.')],
hiddenimports=hidden_imports,
excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=True,
)
pyz = PYZ(ana.pure, ana.zipped_data, cipher=block_cipher)
pyz_tron = PYZ(ana_tron.pure, ana_tron.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
ana.dependencies,
ana.scripts,
[],
exclude_binaries=True,
name='shrinko8',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
exe_tron = EXE(
pyz_tron,
ana_tron.dependencies,
ana_tron.scripts,
[],
exclude_binaries=True,
name='shrinkotron',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
ana.binaries,
ana.zipfiles,
ana.datas,
exe_tron,
ana_tron.binaries,
ana_tron.zipfiles,
ana_tron.datas,
strip=False,
upx=False,
upx_exclude=[],
name='shrinko',
)