Closed flying-sheep closed 1 year ago
Does anything happen when you specify [tool.hatch.metadata.hooks.vcs] in addition to [tool.hatch.version] source = "vcs"?
[tool.hatch.metadata.hooks.vcs]
[tool.hatch.version] source = "vcs"
When I leave out the metadata hook header, the built package’s metadata still contains a setuptools-scm generated version.
setuptools-scm
The metadata hook is for dynamically rendering scm data into projects metadata other than the version
Ah, got it! The examples kinda hint toward that, but it’s not outright stated. Maybe that should be added.
Does anything happen when you specify
[tool.hatch.metadata.hooks.vcs]
in addition to[tool.hatch.version] source = "vcs"
?When I leave out the metadata hook header, the built package’s metadata still contains a
setuptools-scm
generated version.