Skip to content

Commit cd3e98e

Browse files
gcariaGiacomo Caria
andauthored
Fix setuptools deprecation warnings (#10300)
* avoid build warnings * change to include = ["xarray*"] --------- Co-authored-by: Giacomo Caria <giacomo@chloris.earth>
1 parent 52f19ca commit cd3e98e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
authors = [{ name = "xarray Developers", email = "xarray@googlegroups.com" }]
33
classifiers = [
44
"Development Status :: 5 - Production/Stable",
5-
"License :: OSI Approved :: Apache Software License",
65
"Operating System :: OS Independent",
76
"Intended Audience :: Science/Research",
87
"Programming Language :: Python",
@@ -15,7 +14,7 @@ classifiers = [
1514
]
1615
description = "N-D labeled arrays and datasets in Python"
1716
dynamic = ["version"]
18-
license = { text = "Apache-2.0" }
17+
license = "Apache-2.0"
1918
name = "xarray"
2019
readme = "README.md"
2120
requires-python = ">=3.10"
@@ -94,8 +93,8 @@ dask = "xarray.namedarray.daskmanager:DaskManager"
9493
build-backend = "setuptools.build_meta"
9594
requires = ["setuptools>=42", "setuptools-scm>=7"]
9695

97-
[tool.setuptools]
98-
packages = ["xarray"]
96+
[tool.setuptools.packages.find]
97+
include = ["xarray*"]
9998

10099
[tool.setuptools_scm]
101100
fallback_version = "9999"

0 commit comments

Comments
 (0)