File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " fastapi-new"
3- version = " 0.0.1 "
3+ dynamic = [ " version " ]
44license = " MIT"
55license-files = [" LICENSE" ]
66description = " Create a new FastAPI project in one command"
@@ -56,12 +56,16 @@ Issues = "https://github.com/fastapi/fastapi-new/issues"
5656Changelog = " https://github.com/fastapi/fastapi-new/release-notes.md"
5757
5858[build-system ]
59- requires = [" uv_build>=0.9.1,<0.10.0 " ]
60- build-backend = " uv_build "
59+ requires = [" pdm-backend " ]
60+ build-backend = " pdm.backend "
6161
6262[tool .mypy ]
6363strict = true
6464
65+ [tool .pdm ]
66+ version = { source = " file" , path = " src/fastapi_new/__init__.py" }
67+ distribution = true
68+
6569[tool .pytest .ini_options ]
6670addopts = [
6771 " --strict-config" ,
@@ -109,9 +113,9 @@ ignore = [
109113# Preserve types, even if a file imports `from __future__ import annotations`.
110114keep-runtime-typing = true
111115
112- [tool .uv .build-backend ]
113- source-include = [
114- " tests/** " ,
116+ [tool .pdm .build ]
117+ source-includes = [
118+ " tests/" ,
115119 " requirements*.txt" ,
116- " scripts/** " ,
120+ " scripts/" ,
117121]
Original file line number Diff line number Diff line change 1- from importlib .metadata import version
2-
3- __version__ = version ("fastapi-new" )
1+ __version__ = "0.0.1"
You can’t perform that action at this time.
0 commit comments