65 lines
1.2 KiB
TOML
65 lines
1.2 KiB
TOML
[build-system]
|
|||
|
|
build-backend = "hatchling.build"
|
||
|
|
requires = ["hatchling"]
|
||
|
|
|
||
|
|
[project]
|
||
|
|
dependencies = [
|
||
|
|
"apscheduler",
|
||
|
|
"boto3",
|
||
|
|
"chongming-jwt",
|
||
|
|
"chongming-request",
|
||
|
|
"chongming-worker",
|
||
|
|
"diskcache",
|
||
|
|
"eclipse-zenoh",
|
||
|
|
"fastapi[uvicorn]",
|
||
|
|
"gunicorn",
|
||
|
|
"modelvault",
|
||
|
|
"module-bank",
|
||
|
|
"nanio",
|
||
|
|
"openai",
|
||
|
|
"orjson",
|
||
|
|
"python-multipart",
|
||
|
|
"sqlite-vfs",
|
||
|
|
"tomli",
|
||
|
|
"typing-extensions",
|
||
|
|
"uvicorn",
|
||
|
|
"volcengine-python-sdk[ark]>=5.0.41",
|
||
|
|
]
|
||
|
|
description = "基于 modules-bank 的 fastapi 打包脚手架"
|
||
|
|
name = "chongming-zenoh"
|
||
|
|
readme = "README.md"
|
||
|
|
requires-python = ">=3.12"
|
||
|
|
version = "0.1.0"
|
||
|
|
|
||
|
|
[dependency-groups]
|
||
|
|
dev = [
|
||
|
|
"nuitka",
|
||
|
|
"pyarmor",
|
||
|
|
"pyinstaller",
|
||
|
|
"ruff",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.hatch.build.targets.wheel]
|
||
|
|
packages = ["src/chongming"]
|
||
|
|
|
||
|
|
[[tool.uv.index]]
|
||
|
|
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
|
||
|
|
|
||
|
|
[tool.uv.workspace]
|
||
|
|
members = [
|
||
|
|
"utils/worker",
|
||
|
|
"utils/request",
|
||
|
|
"utils/jwt",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.uv.sources]
|
||
|
|
chongming-request = { workspace = true }
|
||
|
|
chongming-worker = { workspace = true }
|
||
|
|
chongming-jwt = { workspace = true }
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
build = "chongming.scripts.build:build"
|
||
|
|
gen_models = "chongming.scripts.gen_models:gen_models"
|
||
|
|
gunicorn = "chongming:gunicorn_serve"
|
||
|
|
serve = "chongming:serve"
|