2
0
Fork 0

feat: use hatchling for package build backend

This commit is contained in:
Lance Edgar 2024-06-10 13:52:12 -05:00
parent 5204e81c00
commit dbc3c8f9ca

View file

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