[build-system] build-backend = "hatchling.build" requires = ["hatchling"] [project] name = "chongming-gateway" version = "0.1.1" description = "chongming 网关:FastAPI + Zenoh 的配置驱动微服务网关(插件路由动态挂载、Worker 服务发现与负载均衡)" readme = "README.md" requires-python = ">=3.12" dependencies = [ # chongming 家族工具包 "chongming-auth", "chongming-cache", "chongming-config", "chongming-jwt", "chongming-worker", "chongming-license", # Web / 服务器 "fastapi", "granian[reload,uvloop]", "gunicorn", "httptools", "starlette", "uvicorn", "uvloop", # 运行时 "amqtt", "eclipse-zenoh", # chongming-auth → chongming-database 的 sqlalchemy[asyncio] 在 import 期即要求 "greenlet", "orjson", "pwdlib", "pydantic", # /license/file 上传端点(File/UploadFile)在注册路由时即要求 "python-multipart", "sqlite-vfs", ] [project.scripts] gunicorn = "chongming:gunicorn_serve" granian = "chongming:granian_serve" serve = "chongming:serve" [tool.hatch.build.targets.wheel] packages = ["src/chongming"] [[tool.uv.index]] url = "http://124.71.68.6:3000/api/packages/chongming/pypi/simple/" [[tool.uv.index]] url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" [dependency-groups] dev = ["twine>=7.0.0"]