-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.spec
29 lines (28 loc) · 823 Bytes
/
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
# -*- mode: python -*-
a = Analysis(['.\\main.py'],
pathex=['.'],
hiddenimports=[],
hookspath=None,
runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='cam.exe',
debug=False,
strip=None,
upx=True,
icon=".\\new_cam.ico",
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
Tree(os.path.abspath('assets'), prefix='assets'),
Tree(os.path.abspath('examples'), prefix='examples'),
Tree(os.path.abspath('doc'), prefix='doc'),
strip=None,
upx=True,
name='cam')
app = BUNDLE(coll,
name='cam')