Skip to content

Commit 43431ff

Browse files
committed
maint: use uv build backend
1 parent 8fa72bb commit 43431ff

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,8 @@ dev = [
4242
]
4343

4444
[build-system]
45-
requires = ["hatchling"]
46-
build-backend = "hatchling.build"
47-
48-
[tool.hatch.build.targets.sdist]
49-
exclude = [".github", "doc", ".vscode", "examples", "tests", "utils"]
50-
51-
[tool.hatch.build.targets.wheel]
52-
packages = ["src/pyobsplot"]
45+
requires = ["uv_build>=0.9.10,<0.10.0"]
46+
build-backend = "uv_build"
5347

5448
[tool.pytest.ini_options]
5549
filterwarnings = "ignore::DeprecationWarning"
@@ -146,3 +140,14 @@ include = [
146140

147141
[tool.uv]
148142
default-groups = "all"
143+
144+
[tool.uv.build-backend]
145+
source-exclude = [
146+
".github",
147+
".doc",
148+
".vscode",
149+
"examples",
150+
"tests",
151+
"utils",
152+
"packages",
153+
]

0 commit comments

Comments
 (0)