/
setup.cfg
92 lines (84 loc) · 2.36 KB
/
setup.cfg
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
[metadata]
name = mesmer-emulator
author = mesmer developers
author_email = mesmer@env.ethz.ch
license = GPLv3+
keywords = climate atmosphere "Earth System Model Emulator"
description = Modular Earth System Model Emulator with spatially Resolved output
long_description_content_type=text/x-rst
long_description = file: README.rst
url = https://github.com/MESMER-group/mesmer
project_urls =
Documentation = https://mesmer-emulator.readthedocs.io
Source = https://github.com/MESMER-group/mesmer
BugReports = https://github.com/MESMER-group/mesmer/issues
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent
Intended Audience :: Science/Research
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Atmospheric Science
[options]
packages = find:
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.9
install_requires =
dask[complete]
numpy
packaging
pandas >=2.0
pooch
regionmask
scikit-learn
statsmodels
xarray >=2023.04 # because pandas 2 is required
[options.extras_require]
docs =
numpydoc
sphinx-book-theme
sphinx
tests =
pytest-cov
pytest-xdist
pytest
dev =
%(docs)s
%(tests)s
black < 23
flake8
isort
twine
[flake8]
ignore=
# E203: whitespace before ':' - doesn't work well with black
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
# W503: line break before binary operator
E203, E402, E501, E731, W503
exclude=
build
docs
.git
tmp/
[isort]
profile=black
default_section=THIRDPARTY
known_first_party=mesmer
[coverage:run]
omit =
*/tests/*, */scripts/*, */examples/*, */configs/*, */mesmer/_version.py
[tool:pytest]
addopts = --strict-markers
python_files = test_*.py
testpaths = tests/
filterwarnings =
ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning