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