补全 PyPI 发布元数据 + 修 README 相对链接死链

- pyproject:PEP 639 license 表达式 + license-files、keywords、classifiers、[project.urls]
- README:设计文档链接改 GitHub 绝对地址(PyPI 页面无相对链接死链)
- 踩坑记录:[project.urls] 段头插在 dependencies 前会把 deps 吞进 urls 表
  (uv lock 静默砍掉 20 个依赖),已修并以 tomllib 结构自证(deps=12, urls=4)
This commit is contained in:
openbot committed 2026-09-24 09:15:43 +08:00
1 parent d37c697bbe
commit 45711be1ef
3 files changed
+27 -7

No files matched your search

+21 -1
View File
@@ -6,8 +6,22 @@ readme = "README.md"
# 排除 3.14:该版本 Windows 上 asyncio ProactorEventLoop 的 socket.socketpair()
# 回退分支会死锁(asyncio.run 建 loop 即挂),serve 常驻与全部异步测试不可用。
requires-python = ">=3.11,<3.14"
license = { text = "MIT" }
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "openbot-coder" }]
keywords = ["quant", "market-data", "duckdb", "stock", "kline", "backtest-data"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Database :: Front-Ends",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
]
dependencies = [
"duckdb>=1.1",
"fastapi>=0.115",
@@ -27,6 +41,12 @@ dependencies = [
[project.scripts]
quantdata = "pyquantdata.cli:main"
[project.urls]
Homepage = "https://github.com/openbot-coder/pyquantdata"
Repository = "https://github.com/openbot-coder/pyquantdata"
Documentation = "https://github.com/openbot-coder/pyquantdata/blob/main/docs/quantdata-design.md"
Issues = "https://github.com/openbot-coder/pyquantdata/issues"
[dependency-groups]
dev = [
"pytest>=8",