Skip to content

Commit

Permalink
Add dependencies to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Nov 6, 2024
1 parent e76a8ed commit 507fddb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
30 changes: 28 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
3 changes: 1 addition & 2 deletions tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 507fddb

Please sign in to comment.