forked from admin/PlantAI-rag-new
32 lines
786 B
TOML
32 lines
786 B
TOML
[build-system]
|
||
requires = ["setuptools>=68"]
|
||
build-backend = "setuptools.build_meta"
|
||
|
||
[project]
|
||
name = "plantai-bff"
|
||
version = "0.1.0"
|
||
description = "PlantAI-rag-new BFF:上游代理 + 归一化 + 会话持久化 + Neo4j 直连"
|
||
requires-python = ">=3.11"
|
||
dependencies = [
|
||
"fastapi>=0.110",
|
||
"uvicorn[standard]>=0.29",
|
||
"httpx>=0.27",
|
||
"aiosqlite>=0.20",
|
||
"neo4j>=5.18",
|
||
"pydantic>=2.6",
|
||
"pydantic-settings>=2.2",
|
||
"python-multipart>=0.0.9",
|
||
"beautifulsoup4>=4.12", # 缺陷 #47a:HTML 同源 DOCX 转换
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "respx>=0.23"]
|
||
|
||
[tool.setuptools.packages.find]
|
||
include = ["app*"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["app"]
|
||
python_files = ["test_*.py"]
|
||
asyncio_mode = "auto"
|