-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
88 lines (80 loc) · 2 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "surface-water-network"
dynamic = ["version"]
authors = [
{name = "Mike Taves", email = "mwtoews@gmail.com"},
{name = "Brioch Hemmings", email = "briochh@gmail.com"},
]
maintainers = [
{name = "Mike Taves", email = "mwtoews@gmail.com"},
]
description = "Surface water network"
readme = "README.md"
keywords = ["surface water", "groundwater", "MODFLOW", "flopy"]
license = {text = "BSD 3-Clause"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Hydrology",
]
requires-python = ">=3.9"
dependencies = [
"geopandas >=0.9",
"packaging",
"pandas >=1.2",
"pyproj >=2.2",
"rtree",
"shapely",
]
[project.optional-dependencies]
dev = ["surface-water-network[doc,extra,test]"]
doc = [
"ipython",
"matplotlib",
"numpydoc",
"pydata-sphinx-theme",
"sphinx <6",
"sphinx-issues",
]
extra = [
"flopy >=3.3.6",
"matplotlib",
"netcdf4",
]
test = [
"pytest >=3.3",
"pytest-cov",
"pytest-xdist",
]
[project.urls]
Documentation = "https://mwtoews.github.io/surface-water-network/"
Source = "https://github.com/mwtoews/surface-water-network"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
only-include = ["swn"]
[tool.hatch.build.hooks.vcs]
version-file = "swn/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
doctest_optionflags = "NORMALIZE_WHITESPACE"
testpaths = ["tests"]
filterwarnings = [
"ignore:.*distutils Version classes.*:DeprecationWarning",
"ignore:.*More than 20 figures have been opened.*:RuntimeWarning",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"I", # isort
"NPY", # NumPy-specific
]