Skip to content

Commit 1684989

Browse files
committed
Update pyproject.toml
1 parent f05259a commit 1684989

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

pyproject.toml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
4-
51
[project]
62
name = "ddump"
73
authors = [
@@ -27,13 +23,16 @@ dependencies = [
2723
]
2824
dynamic = ["version"]
2925

26+
[build-system]
27+
requires = ["hatchling"]
28+
build-backend = "hatchling.build"
3029

31-
[tool.setuptools]
32-
packages = [
33-
"ddump",
34-
"ddump.api",
35-
"ddump.db",
36-
]
30+
[tool.hatch.version]
31+
path = "ddump/_version.py"
32+
33+
[tool.hatch.build.targets.wheel]
34+
packages = ["ddump"]
35+
include-package-data = true
3736

38-
[tool.setuptools.dynamic]
39-
version = { attr = "ddump._version.__version__" }
37+
[tool.hatch.build.targets.sdist]
38+
include = ["ddump*"]

0 commit comments

Comments
 (0)