-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.spec
100 lines (94 loc) · 3.77 KB
/
main.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
90
91
92
93
94
95
96
97
98
99
100
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
["__main__.py"],
pathex=[],
binaries=[],
datas=[
("sounds/coin_sound.mp3", "sounds"),
("images/background/desc.png", "images/background"),
("configs/levelconfigs/end_game_questions.json", "configs/levelconfigs"),
("configs/levelconfigs/after_block_questions.json", "configs/levelconfigs"),
("images/objects/coin.png", "images/objects"),
("images/objects/p1.png", "images/objects"),
("images/objects/p2.png", "images/objects"),
("images/objects/p3.png", "images/objects"),
("images/objects/p4.png", "images/objects"),
("images/background/countdown_1.png", "images/background"),
("images/background/countdown_2.png", "images/background"),
("images/background/countdown_3.png", "images/background"),
("images/background/start.png", "images/background"),
("images/background/instructions.png", "images/background"),
("fonts/ARIAL.TTF", "fonts"),
("configs/structure.json", "configs"),
("configs/levelconfigs/neutral.json", "configs/levelconfigs"),
("configs/levelconfigs/questions.json", "configs/levelconfigs"),
("configs/levelconfigs/questions2.json", "configs/levelconfigs"),
("configs/levelconfigs/goodSpeed.json", "configs/levelconfigs"),
("configs/levelconfigs/goodCoin.json", "configs/levelconfigs"),
("configs/levelconfigs/badSpeed.json", "configs/levelconfigs"),
("configs/levelconfigs/badCoin.json", "configs/levelconfigs"),
("configs/levelconfigs/test.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_1.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_2.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_3.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_4.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_5.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_6.json", "configs/levelconfigs"),
("configs/levelconfigs/test2_7.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_1.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_2.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_3.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_4.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_5.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_6.json", "configs/levelconfigs"),
("configs/levelconfigs/test3_7.json", "configs/levelconfigs"),
("configs/levelconfigs/testing_questions.json", "configs/levelconfigs"),
],
hiddenimports=["pygame"],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name="PAT",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
app = BUNDLE(
exe,
name="PAT.app",
icon="pac-man.icns",
bundle_identifier=None,
info_plist={
"CFBundleName": "PAT",
"CFBundleDisplayName": "PAT",
"CFBundleVersion": "1.0.1",
"CFBundleShortVersionString": "1.0.0",
"NSRequiresAquaSystemAppearance": "No",
"NSHighResolutionCapable": "True",
"NSPrincipalClass": "NSApplication",
"NSAppleScriptEnabled": False,
},
)