Skip to content

Commit bb282aa

Browse files
committed
use uv build too
1 parent c0352ac commit bb282aa

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

pyproject.toml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,8 @@ repository = "https://github.com/xarray-contrib/cf-xarray.git"
3030
changelog = "https://cf-xarray.readthedocs.io/en/latest/whats-new.html"
3131

3232
[build-system]
33-
requires = [
34-
# xarray is need for dynamic version string
35-
"xarray>=2023.09.0",
36-
"setuptools>=45",
37-
"setuptools_scm[toml]>=6.2",
38-
]
39-
build-backend = "setuptools.build_meta"
40-
41-
[tool.setuptools]
42-
packages = ["cf_xarray", "cf_xarray.scripts"]
43-
44-
[tool.setuptools.exclude-package-data]
45-
cf_xarray = ["tests/*"]
46-
47-
[tool.setuptools.dynamic]
48-
version = {attr = "cf_xarray.__version__"}
49-
50-
[tool.setuptools_scm]
51-
fallback_version = "999"
52-
write_to = "cf_xarray/_version.py"
53-
write_to_template= '__version__ = "{version}"'
54-
tag_regex= "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
33+
requires = ["uv_build>=0.8.15,<0.9.0"]
34+
build-backend = "uv_build"
5535

5636
[tool.ruff]
5737
target-version = "py311"

0 commit comments

Comments
 (0)