-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
193 lines (176 loc) · 3.75 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
[project]
name = "babelizer"
requires-python = ">=3.10"
description = "Wrap BMI libraries with Python bindings"
keywords = [
"bmi",
"component modeling",
"geosciences",
"interoperability",
"model coupling",
"numerical modeling",
"pymt",
]
authors = [
{ name = "Eric Hutton", email = "huttone@colorado.edu" },
]
maintainers = [
{ name = "Eric Hutton", email = "huttone@colorado.edu" },
{ name = "Mark Piper", email = "mark.piper@colorado.edu" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"click",
"gitpython",
"importlib-resources; python_version < '3.12'",
"jinja2",
"logoizer@ git+https://github.com/mcflugen/logoizer",
"pyyaml",
"tomli-w",
"tomli; python_version < '3.11'",
]
dynamic = [
"readme",
"version",
]
[project.license]
text = "MIT"
[project.urls]
changelog = "https://github.com/csdms/babelizer/blob/master/CHANGES.rst"
documentation = "https://babelizer.readthedocs.io/"
homepage = "https://babelizer.readthedocs.io/"
repository = "https://github.com/csdms/babelizer"
[project.optional-dependencies]
dev = [
"black",
"flake8",
"flake8-bugbear",
"isort",
"nox",
"pre-commit",
"towncrier",
]
docs = [
"furo",
"pygments>=2.4",
"sphinx-click",
"sphinx-copybutton",
"sphinx-inline-tabs",
"sphinx-inline-tabs",
"sphinx>=4",
"sphinxcontrib.towncrier",
]
testing = [
"bmi-tester>=0.5.9",
"coverage[toml]",
"coveralls",
"pytest",
"pytest-cov",
"pytest-datadir",
"pytest-xdist",
]
[project.scripts]
babelize = "babelizer.cli:babelize"
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic.readme]
file = "README.rst"
content-type = "text/x-rst"
[tool.setuptools.dynamic.version]
attr = "babelizer._version.__version__"
[tool.setuptools.package-data]
babelizer = [
"data/**/*",
]
[tool.setuptools.packages.find]
where = [
".",
]
include = [
"babelizer*",
]
[tool.black]
line-length = 88
exclude = """
(
babelizer/data
| external
)
"""
[tool.coverage.run]
omit = [
"*/babelizer/data/*",
]
relative_files = true
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88
skip = [
"babelizer/data",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"babelizer",
"tests",
]
norecursedirs = [
".*",
"*.egg*",
"build",
"dist",
]
addopts = """
--ignore setup.py
--ignore babelizer/data
--tb native
--strict
--durations 16
--doctest-modules
-vvv
"""
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ALLOW_UNICODE",
]
[tool.towncrier]
directory = "news"
package = "babelizer"
filename = "CHANGES.rst"
single_file = true
underlines = "-^\""
issue_format = "`#{issue} <https://github.com/csdms/babelizer/issues/{issue}>`_"
title_format = "{version} ({project_date})"
wrap = true
[tool.zest-releaser]
tag-format = "v{version}"
python-file-with-version = "babelizer/_version.py"