mirror of
https://github.com/WMK965/965-Python-Learning-Repo.git
synced 2025-04-27 14:03:22 +00:00
扩展Wordcloud_GUI项目功能
This commit is contained in:
parent
559c66b769
commit
b46d0dc786
@ -187,6 +187,7 @@ class mainthread:
|
|||||||
self.alert_box("缺少必要参数")
|
self.alert_box("缺少必要参数")
|
||||||
|
|
||||||
|
|
||||||
|
#fontlist = ("./resources/msyh.ttc", "./resources/STXINGKA.TTF", "./resources/simkai.ttf", "./resources/AdobeHeitiStd-Regular.otf", "./resources/simsun.ttc", "./resources/SIMYOU.TTF")
|
||||||
fontlist = ("msyh.ttc", "STXINGKA.TTF", "simkai.ttf", "AdobeHeitiStd-Regular.otf", "simsun.ttc", "SIMYOU.TTF")
|
fontlist = ("msyh.ttc", "STXINGKA.TTF", "simkai.ttf", "AdobeHeitiStd-Regular.otf", "simsun.ttc", "SIMYOU.TTF")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
50
main.spec
Normal file
50
main.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['C:/Users/965/Builds/PythonLearning/Wordcloud_GUI/main.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[('C:/Users/965/Builds/PythonLearning/Wordcloud_GUI/WcModule.py', '.'), ('C:/Users/965/Builds/PythonLearning/venv/Lib/site-packages/wordcloud/stopwords', './wordcloud/')],
|
||||||
|
datas=[('C:/Users/965/Builds/PythonLearning/Wordcloud_GUI/main.ui', '.')],
|
||||||
|
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=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
)
|
||||||
|
coll = COLLECT(
|
||||||
|
exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='main',
|
||||||
|
)
|
BIN
resources/AdobeHeitiStd-Regular.otf
Normal file
BIN
resources/AdobeHeitiStd-Regular.otf
Normal file
Binary file not shown.
BIN
resources/SIMYOU.TTF
Normal file
BIN
resources/SIMYOU.TTF
Normal file
Binary file not shown.
BIN
resources/STXINGKA.TTF
Normal file
BIN
resources/STXINGKA.TTF
Normal file
Binary file not shown.
349046
resources/jieba/dict.txt
Normal file
349046
resources/jieba/dict.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
resources/msyh.ttc
Normal file
BIN
resources/msyh.ttc
Normal file
Binary file not shown.
BIN
resources/simkai.ttf
Normal file
BIN
resources/simkai.ttf
Normal file
Binary file not shown.
BIN
resources/simsun.ttc
Normal file
BIN
resources/simsun.ttc
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user