feat: use hatchling for package build backend
This commit is contained in:
parent
5204e81c00
commit
dbc3c8f9ca
|
@ -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"]
|
|
||||||
|
|
Loading…
Reference in a new issue