-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnaut_windows.spec
38 lines (31 loc) · 923 Bytes
/
snaut_windows.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
# -*- mode: python -*-
icon_path = 'utils/windows/icon.ico'
block_cipher = None
sklearn_hiddenimports = ['sklearn.utils.sparsetools._graph_validation',
'sklearn.utils.sparsetools._graph_tools',
'sklearn.utils.lgamma',
'sklearn.utils.weight_vector']
a = Analysis(['snaut/snaut.py'],
pathex=['snaut/'],
hiddenimports=[] + sklearn_hiddenimports,
hookspath=None,
runtime_hooks=None,
cipher=block_cipher)
pyz = PYZ(a.pure,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='snaut.exe',
debug=False,
strip=None,
upx=True,
console=True,
icon=icon_path)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='snaut')