Skip to content

Commit 7defc56

Browse files
Start by declaring the build backend
All packaging docs show the build-system table declared first: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#a-full-example https://packaging.python.org/en/latest/specifications/pyproject-toml/ That's probably customary, not a requirement, but let's follow the trend.
1 parent ba5c608 commit 7defc56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.2", "setuptools-scm>=7"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
authors = [{ name = "xarray Developers", email = "xarray@googlegroups.com" }]
37
classifiers = [
@@ -95,10 +99,6 @@ source-code = "https://github.com/pydata/xarray"
9599
[project.entry-points."xarray.chunkmanagers"]
96100
dask = "xarray.namedarray.daskmanager:DaskManager"
97101

98-
[build-system]
99-
build-backend = "setuptools.build_meta"
100-
requires = ["setuptools>=77.0.2", "setuptools-scm>=7"]
101-
102102
[tool.setuptools.packages.find]
103103
include = ["xarray*"]
104104

0 commit comments

Comments
 (0)