Files
guba-indicator/build.spec
xiaji 96f206ea78 feat: 新增股票数据波形图和截图功能
refactor: 重构数据库和LLM分析器逻辑

fix: 修复爬虫解析和UI显示问题

docs: 更新配置文件和注释

style: 优化代码格式和日志输出
2026-01-12 09:19:38 +08:00

58 lines
1.1 KiB
Python

# -*- mode: python ; coding: utf-8 -*-
import sys
import os
block_cipher = None
# 添加项目路径
project_path = os.path.abspath('.')
if project_path not in sys.path:
sys.path.insert(0, project_path)
a = Analysis(
['main.py'],
pathex=['.', project_path],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['tkinter', 'IPython', 'pytest', 'matplotlib', 'pandas', 'scipy', 'numpy'],
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='guba-indicator',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='indicator.ico',
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='guba-indicator',
)