重置项目
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "stock-panel-backend"
|
||||
version = "0.1.44"
|
||||
description = "A 股选股 + 监控 + 回测面板"
|
||||
name = "tickflow-stock-panel-backend"
|
||||
version = "0.1.70"
|
||||
description = "A 股选股 + 监控 + 回测面板 — TickFlow 适配"
|
||||
readme = "../README.md"
|
||||
requires-python = ">=3.11"
|
||||
license = { text = "MIT" }
|
||||
@@ -19,7 +19,7 @@ dependencies = [
|
||||
"pyarrow>=16.0",
|
||||
"pandas>=2.2", # 仅在 BacktestService 边界使用,见 §7.4 / ADR-19
|
||||
"fastexcel>=0.10", # Polars 读取 xlsx/xls
|
||||
# A 股数据源 SDK
|
||||
# TickFlow 官方 SDK
|
||||
"tickflow[all]>=0.1.23",
|
||||
# Scheduling
|
||||
"apscheduler>=3.10",
|
||||
@@ -29,9 +29,19 @@ dependencies = [
|
||||
# AI(可选,但默认装上)
|
||||
"openai>=1.40", # OpenAI 兼容适配器复用 openai SDK
|
||||
"httpx>=0.27",
|
||||
"platformdirs>=4.0", # 桌面版用户数据目录 (跨平台持久可写)
|
||||
"winotify>=1.1; sys_platform == 'win32'", # Windows 系统通知 (进操作中心)
|
||||
"plyer>=2.1", # 系统通知跨平台兜底 (macOS/Linux)
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# Legacy CPU runtime: install the Polars compatibility kernel on
|
||||
# machines without AVX2/FMA support.
|
||||
# Enable with: uv sync --extra legacy-cpu
|
||||
legacy-cpu = [
|
||||
"polars[rtcompat]>=1.0",
|
||||
]
|
||||
|
||||
# 回测依赖 vectorbt → numba → llvmlite,体积大且 macOS/Intel 上无预构建 wheel 时
|
||||
# 需要 brew install cmake 现场编译。挪到可选 extras,主依赖瘦身。
|
||||
# 启用:`uv sync --extra backtest`
|
||||
@@ -39,6 +49,12 @@ backtest = [
|
||||
"vectorbt>=0.26",
|
||||
]
|
||||
|
||||
# 桌面客户端依赖: pywebview 桌面窗口。打包用 (PyInstaller), 生产/Docker 不需要。
|
||||
# 启用:`uv sync --extra desktop`
|
||||
desktop = [
|
||||
"pywebview>=5.0",
|
||||
]
|
||||
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"pytest-asyncio>=0.23",
|
||||
|
||||
Reference in New Issue
Block a user