Skip to content

Commit 9db6c1d

Browse files
committed
🧱 uv_build
1 parent 6280d8d commit 9db6c1d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

‎pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = ["uv_build>=0.8"]
3+
build-backend = "uv_build"
4+
5+
[tool.uv.build-backend]
6+
module-name = "scipy-stubs"
7+
module-root = ""
8+
source-include = [".mypyignore"] # for scipy-stubs-feedstock
49

510
[project]
611
name = "scipy-stubs"
@@ -64,13 +69,6 @@ dev = [
6469
{ include-group = "type" },
6570
]
6671

67-
[tool.hatch.build]
68-
packages = ["scipy-stubs"]
69-
70-
[tool.hatch.build.targets.sdist]
71-
exclude = ["CODE_OF_CONDUCT.md", "README.md", "SECURITY.md", "uv.lock"]
72-
force-include = { ".mypyignore" = ".mypyignore" } # for scipy-stubs-feedstock
73-
7472
[tool.poe.tasks.clean]
7573
cmd = """
7674
rm -rf

0 commit comments

Comments
 (0)