diff --git a/pyproject.toml b/pyproject.toml index f2ac856a..246f8b02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,14 +22,40 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] keywords = ["xcdat"] -dependencies = [] +dependencies = [ + "cf_xarray >=0.9.1", + "cftime", + "dask", + "netcdf4", + "numpy >=2.0.0,<3.0.0", + "pandas", + "python-dateutil", + "xarray >=2024.03.0", + "xesmf >=0.8.7", + "xgcm", +] [project.optional-dependencies] -test = ["pytest>=3"] +test = ["pytest", "pytest-cov"] +docs = [ + "sphinx", + "sphinx-autosummary-accessors", + "sphinx-book-theme", + "sphinx-copybutton", + "nbsphinx", + "sphinx-design", + "pandoc", + "ipython", + "gsw-xarray", +] +dev = ["types-python-dateutil", "pre-commit", "ruff", "mypy"] [tool.setuptools.packages.find] include = ["xcdat", "xcdat.*"] +[tool.setuptools.dynamic] +version = { attr = "xcdat.version.__version__" } + [tool.ruff] # Exclude a variety of commonly ignored directories. exclude = [ diff --git a/tbump.toml b/tbump.toml index 379c6b82..37b80a9f 100644 --- a/tbump.toml +++ b/tbump.toml @@ -20,8 +20,7 @@ tag_template = "v{new_version}" # For each file to patch, add a [[file]] config # section containing the path of the file, relative to the # tbump.toml location. -[[file]] -src = "setup.py" + [[file]] src = "xcdat/__init__.py"