优化项目结构

This commit is contained in:
2026-07-03 22:37:29 +08:00
parent 98a92b83fa
commit 3a73c345f1
29 changed files with 388 additions and 237 deletions
+11 -1
View File
@@ -14,6 +14,16 @@ dependencies = [
"uvicorn[standard]>=0.32.0",
]
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
dev = [
"pytest>=8.3.0",
@@ -21,4 +31,4 @@ dev = [
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
pythonpath = ["src"]