-
Notifications
You must be signed in to change notification settings - Fork 167
/
pyproject.toml
70 lines (62 loc) · 1.9 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
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[project.urls]
'Homepage' = 'https://github.com/monocongo/climate_indices'
'Bug Tracker' = 'https://github.com/monocongo/climate_indices/issues'
[tool.black]
line-length = 120
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.poetry]
name = 'climate_indices'
version = '2.0.1'
description = 'Reference implementations of various climate indices typically used for drought monitoring'
authors = ['James Adams <[email protected]>']
readme = 'README.md'
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Topic :: Scientific/Engineering :: Physics'
]
packages = [{include = 'climate_indices', from = 'src'}]
[tool.poetry.dependencies]
# only Python and scipy are required for the base library code
python = '>=3.8,<3.12'
scipy = '1.10.1'
# remaining dependencies are required for the CLI (console) scripts
cftime = '>=1.6.4'
dask = '>=2023.5.0'
h5netcdf = '>=1.1.0'
xarray = '>=2023.1.0'
[tool.poetry.dev-dependencies]
pytest = '8.3.3'
toml = '>=0.10.2'
[tool.poetry.group.dev.dependencies]
sphinx-autodoc-typehints = '2.0.1'
[tool.poetry.scripts]
process_climate_indices = 'climate_indices.__main__:main'
spi = 'climate_indices.__spi__:main'
[tool.pytest.ini_options]
filterwarnings = [
'ignore::FutureWarning',
]