forked from LC044/WeChatMsg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
551 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.vscode | ||
build | ||
data | ||
sqlcipher-3.0.1 | ||
dist | ||
venv | ||
TEST | ||
app/data/avatar | ||
app/data/image2 | ||
app/data/emoji | ||
*.db | ||
*.pyc |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#----------------------------------------------------------------------------- | ||
# Copyright (c) 2017-2020, PyInstaller Development Team. | ||
# | ||
# Distributed under the terms of the GNU General Public License (version 2 | ||
# or later) with exception for distributing the bootloader. | ||
# | ||
# The full license is in the file COPYING.txt, distributed with this software. | ||
# | ||
# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) | ||
#----------------------------------------------------------------------------- | ||
# Hook for nanite: https://pypi.python.org/pypi/nanite | ||
from PyInstaller.utils.hooks import collect_data_files | ||
datas = collect_data_files('pyecharts') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# -*- 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\\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') | ||
] | ||
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/userinfo/userinfoUi.py', | ||
'./app/Ui/decrypt/decrypt.py','./app/Ui/decrypt/decryptUi.py', | ||
'./app/Ui/userinfo/userinfo.py','./app/Ui/userinfo/userinfoUi.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', | ||
) |