-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
108 lines (97 loc) · 2.71 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[metadata]
name = mesmer-emulator
author = mesmer developers
author_email = [email protected]
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.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
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.10
install_requires =
dask[array,distributed] >=2023.8
joblib >=1.3
netcdf4 >=1.6
numpy >=1.24
packaging >=23.1
pandas >=2.0
pooch >=1.7
properscoring >=0.1
pyproj >=3.6
regionmask >=0.9
scikit-learn >=1.3 # only for the tests
scipy >=1.11
statsmodels >=0.14
xarray >=2023.07, < 2024.10 # upper pin for xarray-datatree
xarray-datatree ==0.0.13
[options.extras_require]
complete =
%(viz)s
viz =
cartopy
matplotlib
nc-time-axis
docs =
ipython
numpydoc
sphinx
sphinx-book-theme
tests =
pytest-cov
pytest-xdist
pytest
dev =
%(complete)s
%(docs)s
%(tests)s
black !=23
ruff
# TODO: remove flake8 and isort config at some point
[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 --durations=10
python_files = test_*.py
testpaths = tests/
filterwarnings =
ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning