File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,28 +30,19 @@ repository = "https://github.com/xarray-contrib/cf-xarray.git"
3030changelog = " 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" ]
33+ requires = [" hatchling" , " hatch-vcs" ]
34+ build-backend = " hatchling.build"
4335
44- [tool .setuptools . exclude-package-data ]
45- cf_xarray = [" tests/* " ]
36+ [tool .hatch . build . targets . wheel ]
37+ packages = [" cf_xarray " ]
4638
47- [tool .setuptools .dynamic ]
48- version = {attr = " cf_xarray.__version__" }
39+ [tool .hatch .version ]
40+ source = " vcs"
41+ fallback-version = " 999"
4942
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>.*)?$"
43+ [tool .hatch .version .raw-options ]
44+ version_file = " cf_xarray/_version.py"
45+ template = ' __version__ = "{version}"'
5546
5647[tool .ruff ]
5748target-version = " py311"
You can’t perform that action at this time.
0 commit comments