Skip to content

Commit

Permalink
gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Aug 3, 2023
1 parent e96d974 commit 8a83954
Show file tree
Hide file tree
Showing 8 changed files with 551 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .gitignore
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
5 changes: 5 additions & 0 deletions .idea/copyright/copyright.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

448 changes: 448 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions TEST.py

This file was deleted.

2 changes: 1 addition & 1 deletion app/Ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"""
# 文件__init__.py
# from login import login
from . import mainwindow
from . import mainview

from .decrypt import decrypt

# __all__ = ["decrypt", 'mainview']
Binary file added app/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions hook-pyecharts.py
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')
72 changes: 72 additions & 0 deletions main.spec
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',
)

0 comments on commit 8a83954

Please sign in to comment.