-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
127 lines (117 loc) · 2.66 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
[project]
name = "bmi-topography"
description = "Fetch and cache land elevation data from OpenTopography"
authors = [
{name = "Mark Piper", email = "[email protected]"},
]
maintainers = [
{name = "Mark Piper", email = "[email protected]"},
{name = "Eric Hutton", email = "[email protected]"},
]
keywords = [
"bmi",
"srtm",
"alos",
"nasadem",
"copernicus",
"topography",
"elevation",
"dem",
"data",
"csdms",
]
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
]
requires-python = ">=3.10"
dependencies = [
"requests",
"numpy",
"click",
"pyyaml",
"xarray",
"rioxarray",
"bmipy",
]
dynamic = ["readme", "version"]
[project.urls]
Homepage = "https://csdms.colorado.edu"
Documentation = "https://bmi-topography.csdms.io/"
Repository = "https://github.com/csdms/bmi-topography"
Changelog = "https://github.com/csdms/bmi-topography/blob/main/CHANGES.md"
Forum = "https://forum.csdms.io"
[project.optional-dependencies]
dev = [
"nox",
]
build = [
"build",
"twine",
"zest.releaser"
]
testing = [
"pytest",
"pytest-cov",
"pytest-datadir",
"coverage",
"coveralls",
]
docs = [
"sphinx",
"recommonmark",
"pandoc",
"importlib-metadata",
]
examples = [
"matplotlib",
]
[project.scripts]
bmi-topography = "bmi_topography.cli:main"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
readme = {file = ["README.md", "CREDITS.md", "LICENSE.md"], content-type = "text/markdown"}
version = {attr = "bmi_topography._version.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["bmi_topography*"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["bmi_topography", "tests"]
norecursedirs = [".*", "*.egg*", "build", "dist"]
addopts = """
--ignore setup.py
--tb native
--strict-markers
--durations 16
--doctest-modules
-vvv
--ignore-glob=examples/*.py
"""
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ALLOW_UNICODE"
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88
[tool.coverage.run]
relative_files = true
[tool.zest-releaser]
tag-format = "v{version}"
python-file-with-version = "bmi_topography/_version.py"