refactor: integrate model platform backend
This commit is contained in:
+10
-19
@@ -1,28 +1,17 @@
|
||||
[project]
|
||||
name = "backend"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "tao.chen", email = "93983997+taochen-ct@users.noreply.github.com" }
|
||||
]
|
||||
version = "0.2.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"boto3>=1.43.57",
|
||||
"fastapi>=0.140.0",
|
||||
"httpx>=0.28.1",
|
||||
"loguru>=0.7.3",
|
||||
"pydantic>=2.13.4",
|
||||
"uvicorn>=0.51.0",
|
||||
"common",
|
||||
"fastapi==0.116.1",
|
||||
"uvicorn[standard]==0.35.0",
|
||||
"httpx==0.28.1",
|
||||
"croniter==6.2.4",
|
||||
"alembic==1.18.5",
|
||||
"cryptography==49.0.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
backend = "backend:main"
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
|
||||
default = true
|
||||
|
||||
[tool.uv.sources]
|
||||
common = { workspace = true }
|
||||
|
||||
@@ -30,3 +19,5 @@ common = { workspace = true }
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/backend"]
|
||||
|
||||
Reference in New Issue
Block a user