11[build-system ]
22build-backend = " setuptools.build_meta"
3+
34requires = [ " setuptools>=72" , " setuptools-scm[toml]>=8" , " wheel" ]
45
56[project ]
@@ -8,9 +9,10 @@ description = "Subset Xarray datasets in time and space"
89readme = " README.md"
910keywords = [ " xarray" ]
1011license = { file = " LICENSE" }
12+
1113authors = [
12- { name = " Christopher H. Barker" , email = " chris.barker@noaa.gov" },
1314 { name = " Matthew Iannucci" , email = " matt.iannucci@tetratech.com" },
15+ { name = " Christopher H. Barker" , email = " chris.barker@noaa.gov" },
1416]
1517requires-python = " >=3.10"
1618classifiers = [
@@ -27,7 +29,9 @@ classifiers = [
2729 " Programming Language :: Python :: 3.14" ,
2830 " Topic :: Scientific/Engineering" ,
2931]
32+
3033dynamic = [ " version" ]
34+
3135dependencies = [
3236 " cf-xarray" ,
3337 " cftime" ,
@@ -37,6 +41,7 @@ dependencies = [
3741 " numpy" ,
3842 " xarray>=2024.6" ,
3943]
44+
4045optional-dependencies.dev = [
4146 " pre-commit" ,
4247 " pytest" ,
@@ -58,6 +63,7 @@ write_to = "xarray_subset_grid/_version.py"
5863target-version = " py310"
5964# Use a longer line length.
6065line-length = 100
66+
6167builtins = [ " ellipsis" ]
6268extend-exclude = [ " docs" , " xarray_subset_grid/_version.py" ]
6369# Prefer single quotes over double quotes.
@@ -85,56 +91,78 @@ lint.extend-safe-fixes = [
8591venvPath = " ."
8692venv = " venv"
8793
88- [tool .pixi ]
89- dependencies.python = " >=3.10"
90- dependencies.numpy = " *"
91- dependencies.xarray = " >=2024.6"
92- dependencies.pandas = " *"
93- dependencies.cf_xarray = " *"
94- dependencies.dask = " *"
95- dependencies.fsspec = " *"
96- dependencies.s3fs = " *"
97- dependencies.zarr = " <3"
98- dependencies.netcdf4 = " *"
99- dependencies.h5netcdf = " *"
100- environments.default = { solve-group = " default" }
101- environments.dev = { features = [ " dev" ], solve-group = " default" }
102- environments.examples = { features = [ " examples" ], solve-group = " default" }
103- environments.all = { features = [ " dev" , " examples" ], solve-group = " default" }
104- environments.test310 = [
105- " dev" ,
106- " py310" ,
107- ] # implicit: test310 = ["dev", "py310", "default"]
108- environments.test311 = [ " dev" , " py311" ]
109- environments.test312 = [ " dev" , " py312" ]
110- environments.test313 = [ " dev" , " py313" ]
111- environments.test314 = [ " dev" , " py314" ]
112- environments.testcov = [ " dev" , " py314" ]
113- feature.dev.dependencies.ruff = " *"
114- feature.dev.dependencies.pre-commit = " *"
115- feature.dev.dependencies.pyright = " *"
116- feature.dev.dependencies.pytest = " *"
117- feature.dev.dependencies.pytest-cov = " <7"
118- feature.dev.dependencies.sphinx = " *"
119- feature.dev.dependencies.sphinx-rtd-theme = " *"
120- feature.dev.dependencies.pip = " *"
121- feature.dev.dependencies.setuptools_scm = " *"
122- feature.dev.dependencies.python-build = " *"
123- feature.dev.dependencies.sphinx-autodoc-typehints = " *"
124- feature.dev.dependencies.myst-nb = " *"
125- feature.dev.tasks.lint = " ruff check tests xarray_subset_grid"
126- feature.dev.tasks.test = " pytest tests/"
127- feature.dev.tasks.test_all = " pytest --online tests/"
128- feature.dev.tasks.test_cov = " pytest --cov=xarray_subset_grid tests"
129- feature.examples.dependencies.matplotlib = " *"
130- feature.examples.dependencies.jupyter = " *"
131- feature.examples.dependencies.ipython = " *"
132- feature.py310.dependencies.python = " ~=3.10"
133- feature.py311.dependencies.python = " ~=3.11"
134- feature.py312.dependencies.python = " ~=3.12"
135- feature.py313.dependencies.python = " ~=3.13"
136- feature.py314.dependencies.python = " ~=3.14"
137- pypi-dependencies.xarray_subset_grid = { path = " ." , editable = true }
138- system-requirements.macos = " 11.0"
139- workspace.channels = [ " conda-forge" ]
140- workspace.platforms = [ " linux-64" , " osx-arm64" , " osx-64" , " win-64" ]
94+ [tool .pixi .workspace ]
95+ channels = [ " conda-forge" ]
96+ platforms = [ " linux-64" , " osx-arm64" , " osx-64" , " win-64" ]
97+
98+ [tool .pixi .pypi-dependencies ]
99+ xarray_subset_grid = { path = " ." , editable = true }
100+
101+ [tool .pixi .environments ]
102+ default = { solve-group = " default" }
103+ dev = { features = [ " dev" ], solve-group = " default" }
104+ examples = { features = [ " examples" ], solve-group = " default" }
105+ all = { features = [ " dev" , " examples" ], solve-group = " default" }
106+ test310 = [ " dev" , " py310" ] # implicit: test310 = ["dev", "py310", "default"]
107+ test311 = [ " dev" , " py311" ]
108+ test312 = [ " dev" , " py312" ]
109+ test313 = [ " dev" , " py313" ]
110+ test314 = [ " dev" , " py314" ]
111+
112+ [tool .pixi .system-requirements ]
113+ macos = " 11.0"
114+
115+ [tool .pixi .tasks ]
116+
117+ [tool .pixi .dependencies ]
118+ python = " >=3.10"
119+ numpy = " *"
120+ xarray = " >=2024.6"
121+ pandas = " *"
122+ cf_xarray = " *"
123+ dask = " *"
124+ fsspec = " *"
125+ s3fs = " *"
126+ zarr = " <3"
127+ netcdf4 = " *"
128+ h5netcdf = " *"
129+
130+
131+ [tool .pixi .feature .dev .dependencies ]
132+ ruff = " *"
133+ pre-commit = " *"
134+ pyright = " *"
135+ pytest = " *"
136+ pytest-cov = " *"
137+ sphinx = " *"
138+ sphinx-rtd-theme = " *"
139+ pip = " *"
140+ setuptools_scm = " *"
141+ python-build = " *"
142+ sphinx-autodoc-typehints = " *"
143+ myst-nb = " *"
144+
145+ [tool .pixi .feature .dev .tasks ]
146+ lint = " ruff check tests xarray_subset_grid"
147+ test = " pytest tests/"
148+ test_all = " pytest --online tests/"
149+
150+ [tool .pixi .feature .examples .dependencies ]
151+ matplotlib = " *"
152+ jupyter = " *"
153+ ipython = " *"
154+
155+ [tool .pixi .feature .py310 .dependencies ]
156+ python = " ~=3.10"
157+
158+ [tool .pixi .feature .py311 .dependencies ]
159+ python = " ~=3.11"
160+
161+ [tool .pixi .feature .py312 .dependencies ]
162+ python = " ~=3.12"
163+
164+ [tool .pixi .feature .py313 .dependencies ]
165+ python = " ~=3.13"
166+
167+ [tool .pixi .feature .py314 .dependencies ]
168+ python = " ~=3.14"
0 commit comments