diff --git a/pyproject.toml b/pyproject.toml index 13e565d..26e9144 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,3 @@ -[build-system] -requires = ["hatchling>=1.8.0", "hatch-vcs"] -build-backend = "hatchling.build" - [project] name = "plum-dispatch" description="Multiple dispatch in Python" @@ -47,14 +43,17 @@ dev = [ [project.urls] repository = "https://github.com/beartype/plum" -[tool.hatch.build] -include = ["plum*"] -[tool.hatch.version] -source = "vcs" +[build-system] +requires = ["hatchling>=1.8.0", "hatch-vcs"] +build-backend = "hatchling.build" + + +[tool.hatch] +version.source = "vcs" +build.include = ["plum*"] +build.hooks.vcs.version-file = "plum/_version.py" -[tool.hatch.build.hooks.vcs] -version-file = "plum/_version.py" # Development tools [tool.coverage.run]