diff --git a/pyproject.toml b/pyproject.toml index 17e94b7..f4ef4c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] @@ -61,10 +61,7 @@ tag_format = "v$version" update_changelog_on_bump = true -[tool.setuptools] -include-package-data = true -package-dir = {"" = "src"} - - -[tool.setuptools.packages.find] -where = ["src"] +[tool.hatch.build.targets.sdist] +exclude = [ + "htmlcov/", +]