60 lines
1.1 KiB
TOML
60 lines
1.1 KiB
TOML
[build-system]
|
|||
|
|
build-backend = "hatchling.build"
|
||
|
|
requires = ["hatchling"]
|
||
|
|
|
||
|
|
[project]
|
||
|
|
dependencies = [
|
||
|
|
"apscheduler",
|
||
|
|
"boto3>=1.43.48",
|
||
|
|
"chongming-request",
|
||
|
|
"chongming-worker",
|
||
|
|
"diskcache",
|
||
|
|
"eclipse-zenoh",
|
||
|
|
"fastapi[uvicorn]",
|
||
|
|
"gunicorn",
|
||
|
|
"modelvault>=0.16.0",
|
||
|
|
"module-bank",
|
||
|
|
"nanio>=0.1.5",
|
||
|
|
"orjson>=3.11.9",
|
||
|
|
"python-multipart>=0.0.32",
|
||
|
|
"sqlite-vfs",
|
||
|
|
"tomli",
|
||
|
|
"typing-extensions",
|
||
|
|
"uvicorn",
|
||
|
|
]
|
||
|
|
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",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.uv.sources]
|
||
|
|
chongming-worker = { workspace = true }
|
||
|
|
chongming-request = { workspace = true }
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
build = "chongming.scripts.build:build"
|
||
|
|
gen_models = "chongming.scripts.gen_models:gen_models"
|
||
|
|
gunicorn = "chongming:gunicorn_serve"
|
||
|
|
serve = "chongming:serve"
|