forked from LC044/WeChatMsg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.spec
80 lines (75 loc) · 2.67 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
# -*- mode: python ; coding: utf-8 -*-
add_files = [
("D:\\Project\\Python\\WeChatMsg\\app\\data\\icon.png",'.\\app\\data'),
("D:\\Project\\Python\\WeChatMsg\\app\\data\\stopwords.txt",'.\\app\\data'),
("D:\\Project\\Python\\WeChatMsg\\app\\data\\bg.gif",'.\\app\\data'),
("D:\\Project\\Python\\WeChatMsg\\app\\data\\icons",'.\\app\\data\\icons'),
("D:\\Project\\Python\\WeChatMsg\\app\\ImageBox",'.\\app\\ImageBox'),
("D:\\Project\\Python\\WeChatMsg\\app\\DataBase",'.\\app\\DataBase'),
#("D:\\Project\\Python\\WeChatMsg\\app\\Ui",'.\\app\\Ui'),
("D:\\Project\\Python\\WeChatMsg\\sqlcipher-3.0.1",'.\\sqlcipher-3.0.1'),
('.\\resource\\datasets', 'pyecharts\\datasets\\.'),
('.\\resource\\render\\templates', 'pyecharts\\render\\templates\\.'),
('.\\data\\AnnualReport', 'data\\AnnualReport'),
("D:\\Program Files\\Python310\\Lib\\site-packages\\snownlp",'snownlp')
]
block_cipher = None
#("D:\\Project\\Python\\WeChatMsg\\sqlcipher-3.0.1",'.\\sqlcipher-3.0.1')
a = Analysis(
['main.py',
'./app/DataBase/data.py','./app/DataBase/output.py',
'./app/Ui/mainview.py','./app/Ui/mainwindow.py',
'./app/Ui/__init__.py',
'./app/Ui/chat/chat.py','./app/Ui/chat/chatUi.py',
'./app/Ui/contact/contact.py','./app/Ui/contact/contactUi.py','./app/Ui/contact/analysis/analysis.py','./app/Ui/contact/analysis/charts.py','./app/Ui/contact/report/report.py',
'./app/Ui/contact/emotion/emotion.py','./app/Ui/contact/emotion/emotionUi.py',
'./app/Ui/contact/contactInfo.py','./app/Ui/contact/contactInfoUi.py',
'./app/Ui/contact/userinfo/userinfoUi.py','./app/Ui/contact/userinfo/userinfo.py',
'./app/Ui/decrypt/decrypt.py','./app/Ui/decrypt/decryptUi.py',
'./app/Ui/userinfo/userinfo.py','./app/Ui/userinfo/userinfoUi.py',
'./app/person.py',
'./app/Ui/ICON.py',
'./app/Ui/MyComponents/Button_Contact.py'
],
pathex=[],
binaries=[],
datas=add_files,
hiddenimports=[],
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,
[],
exclude_binaries=True,
name='main',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=True,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='./app/data/icon.png'
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='main',
)