11[build-system ]
22build-backend = " hatchling.build"
3- requires = [ " hatch-docstring-description" , " hatch-vcs" , " hatchling" ]
3+ requires = [ " hatch-docstring-description>=1.1.1 " , " hatch-fancy-pypi-readme " , " hatch-vcs" , " hatchling" ]
44
55[project ]
66name = " fast-array-utils"
7- readme = " README.rst"
87license = " MPL-2.0"
98authors = [
109 {
name =
" Philipp A." ,
email =
" [email protected] " },
@@ -18,7 +17,7 @@ classifiers = [
1817 " Programming Language :: Python :: 3.12" ,
1918 " Programming Language :: Python :: 3.13" ,
2019]
21- dynamic = [ " description" , " version" ]
20+ dynamic = [ " description" , " readme " , " version" ]
2221dependencies = [ " numpy" ]
2322optional-dependencies.accel = [ " numba" ]
2423optional-dependencies.doc = [
@@ -55,8 +54,13 @@ entry-points.pytest11.fast_array_utils = "testing.fast_array_utils.pytest"
5554source = " vcs"
5655raw-options = { local_scheme = " no-local-version" } # be able to publish dev version
5756
58- # TODO: support setting main package in the plugin
59- # [tool.hatch.metadata.hooks.docstring-description]
57+ [tool .hatch .metadata .hooks .fancy-pypi-readme ]
58+ content-type = " text/x-rst"
59+ [[tool .hatch .metadata .hooks .fancy-pypi-readme .fragments ]]
60+ path = " README.rst"
61+ start-after = " .. begin"
62+
63+ [tool .hatch .metadata .hooks .docstring-description ]
6064
6165[tool .hatch .build .targets .wheel ]
6266packages = [ " src/testing" , " src/fast_array_utils" ]
0 commit comments