diff --git a/pyproject.toml b/pyproject.toml index 5ab4b4c5720..2a185933b47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,24 @@ dependencies = [ "pandas>=1.5", ] +[project.optional-dependencies] +accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"] +complete = ["xarray[accel,io,parallel,viz,dev]"] +dev = [ + "hypothesis", + "pre-commit", + "pytest", + "pytest-cov", + "pytest-env", + "pytest-xdist", + "pytest-timeout", + "ruff", + "xarray[complete]", +] +io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr", "fsspec", "cftime", "pooch"] +parallel = ["dask[complete]"] +viz = ["matplotlib", "seaborn", "nc-time-axis"] + [project.urls] Documentation = "https://docs.xarray.dev" SciPy2015-talk = "https://www.youtube.com/watch?v=X0pAhJgySxk" @@ -38,13 +56,6 @@ source-code = "https://github.com/pydata/xarray" [project.entry-points."xarray.chunkmanagers"] dask = "xarray.core.daskmanager:DaskManager" -[project.optional-dependencies] -accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"] -complete = ["xarray[accel,io,parallel,viz]"] -io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr", "fsspec", "cftime", "pooch"] -parallel = ["dask[complete]"] -viz = ["matplotlib", "seaborn", "nc-time-axis"] - [build-system] build-backend = "setuptools.build_meta" requires = [ @@ -273,5 +284,5 @@ test = "pytest" [tool.repo-review] ignore = [ - "PP308" # This option creates a large amount of log lines. + "PP308", # This option creates a large amount of log lines. ]