init chongming fastapi 脚手架
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
[project]
|
||||
name = "{{ cookiecutter.project_name }}"
|
||||
version = "0.1.0"
|
||||
description = "基于 modules-bank 的 fastapi 打包脚手架"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"aerich",
|
||||
"fastapi[uvicorn]",
|
||||
"module-bank",
|
||||
"passlib",
|
||||
"pydantic-settings",
|
||||
"pydantic[email]",
|
||||
"sqlite-vfs",
|
||||
"toml",
|
||||
"tortoise-orm",
|
||||
"uvicorn[standard]",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://mirrors.ustc.edu.cn/pypi/web/simple/"
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
".",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
{{ cookiecutter.project_name }} = { workspace = true }
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"{{ cookiecutter.project_name }}",
|
||||
"pyinstaller>=6.18.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/{{ cookiecutter.project_name }}"]
|
||||
|
||||
[project.scripts]
|
||||
cm_build = "{{ cookiecutter.project_name }}.scripts.build:main"
|
||||
cm_main = "{{ cookiecutter.project_name }}:main"
|
||||
Reference in New Issue
Block a user