@@ -23,6 +23,7 @@ classifiers = [
2323 " Programming Language :: Python :: 3.11" ,
2424 " Programming Language :: Python :: 3.12" ,
2525 " Programming Language :: Python :: 3.13" ,
26+ " Programming Language :: Python :: 3.14" ,
2627 " Topic :: Documentation" ,
2728 " Topic :: Software Development" ,
2829 " Topic :: Utilities" ,
@@ -47,12 +48,12 @@ Funding = "https://github.com/sponsors/pawamoy"
4748[project .scripts ]
4849griffe2md = " griffe2md.cli:main"
4950
50- [tool .pdm ]
51- version = {source = " scm" }
51+ [tool .pdm .version ]
52+ source = " call"
53+ getter = " scripts.get_version:get_version"
5254
5355[tool .pdm .build ]
54- package-dir = " src"
55- editable-backend = " editables"
56+ # Include as much as possible in the source distribution, to help redistributors.
5657excludes = [" **/.pytest_cache" ]
5758source-includes = [
5859 " config" ,
@@ -67,19 +68,19 @@ source-includes = [
6768]
6869
6970[tool .pdm .build .wheel-data ]
71+ # Manual pages can be included in the wheel.
72+ # Depending on the installation tool, they will be accessible to users.
73+ # pipx supports it, uv does not yet, see https://github.com/astral-sh/uv/issues/4731.
7074data = [
7175 {path = " share/**/*" , relative-to = " ." },
7276]
7377
74- [tool .uv ]
75- dev-dependencies = [
76- # dev
77- " editables>=0.5" ,
78-
78+ [dependency-groups ]
79+ dev = [
7980 # maintenance
8081 " build>=1.2" ,
8182 " git-changelog>=2.5" ,
82- " twine>=5.0; python_version < '3.13' " ,
83+ " twine>=5.1 " ,
8384
8485 # ci
8586 " duty>=1.4" ,
@@ -104,5 +105,6 @@ dev-dependencies = [
104105 " mkdocs-material>=9.5" ,
105106 " mkdocs-minify-plugin>=0.8" ,
106107 " mkdocstrings[python]>=0.25" ,
108+ # YORE: EOL 3.10: Remove line.
107109 " tomli>=2.0; python_version < '3.11'" ,
108110]
0 commit comments