-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxlmerge.spec
78 lines (72 loc) · 2.88 KB
/
xlmerge.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
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
import sys
import os
# exclude Tk, Tcl completely
sys.modules['FixTk'] = None
source_path = os.path.join(os.path.abspath(SPECPATH), 'xlmerge')
xlmerge_a = Analysis(['xlmerge\\xlmerge.py'],
pathex=[source_path],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter',
'docutils', 'babel', 'sphinx', 'numpy', 'pandas',
'matplotlib', 'notebook', 'ipython'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
xlmerge_pyz = PYZ(xlmerge_a.pure, xlmerge_a.zipped_data,
cipher=block_cipher)
xlmerge_exe = EXE(xlmerge_pyz,
xlmerge_a.scripts,
[],
exclude_binaries=True,
name='xlmerge',
debug=False,
bootloader_ignore_signals=False,
strip=True,
upx=False,
console=False )
addin_a = Analysis(['xlmerge\\addin.py'],
pathex=[os.path.abspath(SPECPATH), 'xlmerge'],
binaries=[],
datas=[('xlmerge\\addin.template', '.'),
('xlmerge\\Excel.officeUI', '.')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter',
'docutils', 'babel', 'sphinx', 'numpy', 'pandas',
'matplotlib', 'notebook', 'ipython'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
addin_pyz = PYZ(addin_a.pure, addin_a.zipped_data,
cipher=block_cipher)
addin_exe = EXE(addin_pyz,
addin_a.scripts,
[],
exclude_binaries=True,
name='addin',
debug=False,
bootloader_ignore_signals=False,
strip=True,
upx=True,
console=False )
coll = COLLECT(xlmerge_exe,
xlmerge_a.binaries,
xlmerge_a.zipfiles,
xlmerge_a.datas,
addin_exe,
addin_a.binaries,
addin_a.zipfiles,
addin_a.datas,
strip=False,
upx=False,
upx_exclude=[],
name='xlmerge')