forked from nansencenter/xhycom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (57 loc) · 1.96 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (57 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "xhycom"
version = "0.1.0"
description = "xarray interface for HYCOM a.b binary output files"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Nora Loose", email = "nora.loose@gmail.com" }]
requires-python = ">=3.8"
dependencies = [
"numpy",
"xarray",
"cftime",
"dask",
"xgcm",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.optional-dependencies]
# Lateral regridding (regrid_horizontal / the full regrid wrapper) needs
# xESMF. Its ESMF/esmpy backend has no PyPI wheels, so it must come from
# conda-forge -- there is no pip-only path, and it stays optional since it
# can conflict with other ESMF installs on some platforms. Ready-made env:
# conda env create -f ci/environment-regrid.yml
dev = ["pytest", "pytest-cov"]
docs = [
"sphinx",
"sphinx-book-theme",
"myst-nb",
"sphinx-copybutton",
"sphinx-design",
]
[project.urls]
Homepage = "https://github.com/nansencenter/xhycom"
Documentation = "https://xhycom.readthedocs.io"
"Bug Tracker" = "https://github.com/nansencenter/xhycom/issues"
Source = "https://github.com/nansencenter/xhycom"
[tool.setuptools.packages.find]
where = ["."]
include = ["xhycom*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# dask and xgcm are core dependencies, so reader/postprocess/vertical-regrid
# tests run on the base + dev install. The lateral-regrid tests still
# self-skip when xesmf is unavailable (conda-forge only, see above).