Files
QMDSearch/pyproject.toml
T
kplam 6c6f690788 chore: 完成全量功能迭代与部署准备
- 移除冗余依赖包
- 新增账号禁用校验与用户管理能力
- 新增文档下载与管理页面文件展示
- 新增API文档页面与用户管理前端页面
- 重构时区处理与docker-compose部署配置
- 完善测试用例与项目文档
2026-08-01 00:02:42 +08:00

45 lines
929 B
TOML

[project]
name = "qmdsearch"
version = "0.1.0"
description = "AI Agent 分层信息检索服务"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.7.0",
"qdrant-client>=1.12.0",
"redis>=5.2.0",
"httpx>=0.28.0",
"structlog>=24.4.0",
"openai>=1.58.0",
"pyjwt>=2.13.0",
"bcrypt>=5.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B"]
ignore = ["B008"] # FastAPI Depends() 在默认参数是标准用法,B008 为误报
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]