-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyinstaller_spec.spec
executable file
·39 lines (36 loc) · 1.2 KB
/
pyinstaller_spec.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
# -*- mode: python -*-
block_cipher = None
added_files = [
( 'estimator/interface/*.glade', 'estimator/interface' ),
( 'estimator/interface/*.png', 'estimator/interface' ),
( 'estimator/interface/*.svg', 'estimator/interface' ),
( 'estimator/database/*.eproj', 'estimator/database' ),
( 'estimator/meas_templates/*.py', 'estimator/meas_templates' )
]
a = Analysis(['gestimator.py'],
pathex=['C:\\Users\\User\\Documents\\GitHub\\GEstimator'],
binaries=None,
datas=added_files,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='GEstimator',
debug=False,
strip=False,
upx=False,
console=False,
icon = 'GEstimator.ico')
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
name='ApplicationFiles')