Files
chongming_template_fastapi/{{ cookiecutter.project_name }}/pyproject.toml
T

51 lines
1.0 KiB
TOML
Raw Normal View History

2026-02-02 13:36:57 +08:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
2026-01-31 16:00:12 +08:00
[project]
name = "{{ cookiecutter.project_name }}"
version = "0.1.0"
description = "基于 modules-bank 的 fastapi 打包脚手架"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
2026-04-29 11:24:19 +08:00
"aiofiles",
2026-03-06 14:30:10 +08:00
"aiosqlite",
2026-04-29 11:24:19 +08:00
"apscheduler",
"bcrypt",
"diskcache",
2026-01-31 16:00:12 +08:00
"fastapi[uvicorn]",
2026-04-29 11:24:19 +08:00
"gunicorn",
2026-01-31 16:00:12 +08:00
"module-bank",
2026-03-06 14:30:10 +08:00
"pyjwt",
2026-04-29 11:24:19 +08:00
"python-multipart",
2026-01-31 16:00:12 +08:00
"sqlite-vfs",
2026-03-06 14:30:10 +08:00
"sqlmodel[aiosqlite]",
"tomli",
"typing-extensions",
"uvicorn",
2026-01-31 16:00:12 +08:00
]
2026-03-06 14:30:10 +08:00
2026-01-31 16:00:12 +08:00
[[tool.uv.index]]
2026-02-02 13:36:57 +08:00
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
2026-01-31 16:00:12 +08:00
2026-02-02 13:36:57 +08:00
[[tool.uv.index]]
url = "https://mirrors.ustc.edu.cn/pypi/web/simple/"
2026-01-31 16:00:12 +08:00
[dependency-groups]
dev = [
2026-03-06 14:30:10 +08:00
"pyarmor",
"pyinstaller",
2026-04-29 11:24:19 +08:00
"ruff>=0.15.10",
2026-01-31 16:00:12 +08:00
]
[tool.hatch.build.targets.wheel]
packages = ["src/{{ cookiecutter.project_name }}"]
[project.scripts]
2026-03-06 14:39:46 +08:00
build = "{{ cookiecutter.project_name }}.scripts.build:build"
2026-04-29 11:24:19 +08:00
serve = "{{ cookiecutter.project_name }}:serve"
gunicorn = "{{ cookiecutter.project_name }}:gunicorn_serve"