1 diff --git a/pyproject.toml b/pyproject.toml
2 index 93b3f40..e34ff5d 100644
6 # SPDX-License-Identifier: MIT
9 -requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme>=23.2.0"]
10 +requires = ["hatchling"]
11 build-backend = "hatchling.build"
14 @@ -27,7 +27,8 @@ classifiers = [
17 dependencies = ["importlib_metadata;python_version<'3.8'"]
18 -dynamic = ["version", "readme"]
20 +version = "@version@"
22 [project.optional-dependencies]
24 @@ -76,54 +77,9 @@ GitHub = "https://github.com/python-attrs/attrs"
25 Funding = "https://github.com/sponsors/hynek"
26 Tidelift = "https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi"
31 -raw-options = { local_scheme = "no-local-version" }
33 [tool.hatch.build.targets.wheel]
34 packages = ["src/attr", "src/attrs"]
36 -[tool.hatch.metadata.hooks.fancy-pypi-readme]
37 -content-type = "text/markdown"
39 -# PyPI doesn't support the <picture> tag.
40 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
41 -text = """<p align="center">
42 - <a href="https://www.attrs.org/">
43 - <img src="https://raw.githubusercontent.com/python-attrs/attrs/main/docs/_static/attrs_logo.svg" width="35%" alt="attrs" />
48 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
50 -start-after = "<!-- teaser-begin -->"
52 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
55 -## Release Information
59 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
60 -path = "CHANGELOG.md"
61 -pattern = "\n(###.+?\n)## "
63 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
68 -[Full changelog →](https://www.attrs.org/en/stable/changelog.html)
71 -# Point sponsor image URLs to versions.
72 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
73 -pattern = 'docs\/_static\/sponsors'
74 -replacement = 'https://www.attrs.org/en/$HFPR_VERSION/_static/sponsors'
76 [[tool.sponcon.sponsors]]
77 title = "Variomedia AG"
78 url = "https://www.variomedia.de/"