modify: module_bank 适配

This commit is contained in:
2026-05-05 00:27:27 +08:00
parent 425d2f3ff9
commit a9b74cc9f3
4 changed files with 66 additions and 33 deletions
+26 -27
View File
@@ -1,49 +1,48 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "chongming"
version = "0.1.0"
dependencies = [
"aiofiles",
"aiosqlite",
"apscheduler",
"bcrypt",
"diskcache",
"fastapi[uvicorn]",
"gunicorn",
"module-bank",
"pyjwt",
"python-multipart",
"sqlite-vfs",
"sqlmodel[aiosqlite]",
"tomli",
"typing-extensions",
"uvicorn",
]
description = "基于 modules-bank 的 fastapi 打包脚手架"
name = "chongming"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"aiofiles",
"aiosqlite",
"apscheduler",
"bcrypt",
"diskcache",
"fastapi[uvicorn]",
"gunicorn",
"module-bank==0.3.1",
"pyjwt",
"python-multipart",
"sqlite-vfs",
"sqlmodel[aiosqlite]",
"tomli",
"typing-extensions",
"uvicorn",
]
version = "0.1.0"
[[tool.uv.index]]
url = "https://pypi.org/simple"
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
[[tool.uv.index]]
url = "https://mirrors.ustc.edu.cn/pypi/web/simple/"
[dependency-groups]
dev = [
"nuitka>=4.0.8",
"pyarmor",
"pyinstaller",
"ruff>=0.15.10",
"zstandard>=0.23.0",
"nuitka>=4.0.8",
"pyarmor",
"pyinstaller",
"ruff>=0.15.10",
"zstandard>=0.23.0",
]
[tool.hatch.build.targets.wheel]