forked from ArtesiaWater/hydropandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
131 lines (116 loc) · 3.33 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "hydropandas"
dynamic = ["version"]
description = "Module by Artesia for loading observation data into custom DataFrames."
license = { file = "LICENSE" }
readme = "readme.md"
authors = [{ name = "Onno Ebbens", email = "[email protected]" }]
maintainers = [
{ name = "O.N. Ebbens", email = "[email protected]" },
{ name = "R. Calje", email = "[email protected]" },
{ name = "D.A. Brakenhoff", email = "[email protected]" },
{ name = "M.A. Vonk", email = "[email protected]" },
]
requires-python = ">=3.7"
dependencies = ["scipy", "pandas", "matplotlib", "tqdm", "requests", "colorama"]
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.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
"Operating System :: OS Independent",
'Topic :: Scientific/Engineering :: Hydrology',
]
[project.urls]
homepage = "https://www.artesia-water.nl"
repository = "https://github.com/artesiawater/hydropandas"
documentation = "https://hydropandas.readthedocs.io/en/stable/"
[project.optional-dependencies]
full = [
"geopandas",
"openpyxl",
"pastastore",
"bokeh",
"branca",
"folium",
"flopy",
"xarray",
"shapely",
"pyproj",
"contextily"
]
rtd = [
"hydropandas[full]",
"imod",
"lxml",
"requests",
"Shapely",
"nbconvert",
"ipykernel",
"netCDF4==1.5.8",
"docutils<0.18",
"sphinx_rtd_theme",
"Ipython",
"nbsphinx",
"nbsphinx_link",
]
linting = ["flake8", "ruff"]
formatting = ["black[jupyter]", "isort"]
pytesting = ["hydropandas[full,rtd]", "pytest>=7", "pytest-cov", "pytest-sugar"]
coveraging = ["coverage"]
dev = ["hydropandas[linting,formatting,pytesting]", "tox"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "hydropandas.version.__version__" }
[tool.setuptools.package-data]
"hydropandas.data" = ["*.json"]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.pytest.ini_options]
addopts = "--durations=0"
markers = ["slow: mark test as slow."]
[tool.tox]
legacy_tox_ini = """
[tox]
requires = tox>=4
env_list = format, lint, notebooks, py{37, 38, 39, 310}
[testenv]
description = run unit tests
extras = pytesting
commands =
pytest tests --ignore=tests/test_000_run_notebooks.py
[testenv:notebooks]
description = run all tests with notebooks and coverage
extras = pytesting,coveraging
commands =
coverage run -m pytest tests
coverage xml
[testenv:format]
description = run formatters
basepython = python3.9
extras = formatting
commands =
black . --check --diff
isort . --check-only --diff
[testenv:lint]
description = run linters
basepython = python3.9
extras = linting
commands =
flake8 . --max-line-length=88 --ignore=E741,W503
ruff check .
"""