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]
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/",
]