refactor: depend on LarkAgentX as an external package
This commit is contained in:
@ -3,31 +3,34 @@ requires = ["setuptools>=64"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "larkx"
|
||||
version = "2.0.0"
|
||||
description = "飞书网页版消息通道 + 本地 coding agent 接入"
|
||||
requires-python = ">=3.9"
|
||||
name = "larksniffer"
|
||||
version = "0.1.0"
|
||||
description = "基于 LarkAgentX 的飞书历史同步与 EFundGPT 日度总结"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"loguru==0.7.3",
|
||||
"requests==2.31.0",
|
||||
"websockets==15.0.1",
|
||||
"protobuf==5.29.3",
|
||||
"protobuf3-to-dict==0.1.5",
|
||||
"SQLAlchemy>=2.0.36,<2.1", # Python 3.13 compatibility
|
||||
"qrcode[pil]==8.2",
|
||||
"python-dotenv==1.1.0",
|
||||
"questionary==2.1.0",
|
||||
"larkx @ git+https://github.com/cv-cat/LarkAgentX.git@97ad48e69e34bd8c78ee30f795b7c3759dd81659",
|
||||
"PyYAML==6.0.2",
|
||||
"requests==2.31.0",
|
||||
"SQLAlchemy>=2.0.36,<2.1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
mysql = ["PyMySQL==1.1.0"]
|
||||
|
||||
[project.scripts]
|
||||
lark = "larkx.cli:main"
|
||||
larksniffer = "larksniffer.cli:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8,<9",
|
||||
"ruff>=0.8,<1",
|
||||
]
|
||||
|
||||
# 上游固定 SQLAlchemy==2.0.30;仅为 Python 3.13 兼容性覆盖该传递依赖,
|
||||
# 不修改上游源码;联网执行 uv sync 后生成 uv.lock。
|
||||
[tool.uv]
|
||||
override-dependencies = ["SQLAlchemy>=2.0.36,<2.1"]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["larkx*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"larkx.proto" = ["cmd_map.json"]
|
||||
include = ["larksniffer*"]
|
||||
|
||||
Reference in New Issue
Block a user