-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (127 loc) · 3.51 KB
/
pyproject.toml
File metadata and controls
138 lines (127 loc) · 3.51 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["setuptools>=64.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nlmod"
dynamic = ["version"]
description = "Python package to build, run and visualize MODFLOW 6 groundwater models in the Netherlands."
license = { file = "LICENSE" }
readme = "README.md"
authors = [
{ name = "O.N. Ebbens" },
{ name = "R. Caljé" },
{ name = "D.A. Brakenhoff" },
]
maintainers = [
{ name = "O.N. Ebbens", email = "o.ebbens@artesia-water.nl" },
{ name = "R. Calje", email = "r.calje@artesia-water.nl" },
{ name = "D.A. Brakenhoff", email = "d.brakenhoff@artesia-water.nl" },
]
requires-python = ">= 3.10"
dependencies = [
"flopy>=3.3.6",
"xarray>=0.16.1",
"netcdf4>=1.6.3",
"rasterio>=1.1.0",
"rioxarray",
"affine>=0.3.1",
"geopandas",
"owslib>=0.24.1",
"hydropandas>=0.9.2",
"shapely>=2.0.0",
"pyshp>=2.1.3",
"matplotlib",
"dask",
"colorama",
"joblib",
"bottleneck",
]
keywords = ["hydrology", "groundwater", "modeling", "MODFLOW", "flopy"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Hydrology",
]
[project.urls]
homepage = "https://github.com/gwmod/nlmod"
repository = "https://github.com/gwmod/nlmod"
documentation = "https://nlmod.readthedocs.io/en/latest/"
installation = "https://pypi.org/project/nlmod/"
[project.optional-dependencies]
full = [
"nlmod[knmi]",
"gdown",
"geocube",
"rasterstats",
"contextily",
"scikit-image",
"py7zr",
]
knmi = ["h5netcdf", "nlmod[grib]"]
grib = ["cfgrib", "ecmwflibs"]
test = ["pytest>=7", "pytest-cov", "pytest-dependency"]
nbtest = ["nbformat", "nbconvert>6.4.5"]
lint = ["ruff"]
ci = ["nlmod[full,lint,test,nbtest]", "numpy==1.26.4"]
rtd = [
"nlmod[full]",
"ipython",
"ipykernel",
"ipywidgets",
"nbsphinx",
"sphinx_rtd_theme==1.0.0",
"nbconvert==7.13.0",
"netCDF4<1.7.0",
"numpy==1.26.4",
"openpyxl",
]
[tool.setuptools.dynamic]
version = { attr = "nlmod.version.__version__" }
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"nlmod.data" = ["*.gleg"]
"nlmod.data.geotop" = ["*"]
"nlmod.data.regis" = ["*"]
"nlmod.data.shapes" = ["*"]
"nlmod.data.ahn" = ["*"]
"nlmod.data.bgt" = ["*"]
"nlmod.data.bofek" = ["*"]
"nlmod.bin" = ["mp7_2_002_provisional"]
[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
show-fixes = true
fix = true
[tool.ruff.lint]
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PT", # pytest-style
"D", # pydocstyle
"B", # flake8-bugbear
"NPY", # numpy
]
ignore = [
"D401", # Imperative mood for docstring. Be glad we have docstrings at all :P!
"D100", # Missing docstring in module.
"D104", # Missing docstring in public package.
]
extend-select = ["I"]
pydocstyle.convention = "numpy"
[tool.pytest.ini_options]
addopts = "--strict-markers --durations=0 --cov-report xml:coverage.xml --cov nlmod -v"
markers = ["notebooks: run notebooks", "slow: slow tests", "skip: skip tests"]
[tool.coverage.run]
dynamic_context = "test_function"