45 lines
977 B
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 = [
"fastapi[uvicorn]",
"module-bank",
2026-02-02 13:36:57 +08:00
"passlib[bcrypt]",
2026-01-31 16:00:12 +08:00
"pydantic-settings",
"pydantic[email]",
"sqlite-vfs",
"toml",
"tortoise-orm",
"uvicorn[standard]",
2026-02-02 13:36:57 +08:00
"sqlitedict",
"pyjwt",
"bcrypt==4.0.1",
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-02-02 13:36:57 +08:00
"aerich",
2026-01-31 16:00:12 +08:00
"pyinstaller>=6.18.0",
2026-02-02 13:36:57 +08:00
"requests>=2.32.4",
2026-01-31 16:00:12 +08:00
]
[tool.hatch.build.targets.wheel]
packages = ["src/{{ cookiecutter.project_name }}"]
[project.scripts]
2026-01-31 22:25:11 +08:00
build = "{{ cookiecutter.project_name }}.scripts.build:main"
2026-02-02 13:36:57 +08:00
serve = "{{ cookiecutter.project_name }}:main"