-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
108 lines (96 loc) · 2.56 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
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = ["src"]
[tool.hatch.build.targets.wheel]
packages = ["src/springtime"]
[project]
name = "springtime"
description = "Spatiotemporal phenology research with interpretable models"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
keywords = [
"phenology",
]
authors = [
{ name = "Peter Kalverla", email = "peter.kalverla@gmx.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
]
dependencies = [
"xarray==2023.8.0", # https://github.com/phenology/springtime/issues/198
"cftime",
"pyyaml",
"pandas",
"requests",
"pydantic==2.*",
"click",
"geopandas",
"dask", # needed for xarray.open_mfdataset()
"netCDF4",
"xdg-base-dirs",
"scikit-learn"
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"mypy",
"pytest",
"ruff",
"types-pyyaml", # https://github.com/python/mypy/issues/10632
"types-requests",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocs-jupyter",
"mkdocs-gen-files",
"mkdocs-include-markdown-plugin",
"mkdocstrings[python]",
"mkdocstrings-python",
"mkdocs-literate-nav",
"mkdocs-section-index",
]
extras = [
"dumme", # for modelling notebooks
"pycaret[models]", # for modelling notebooks
"ipykernel", # for running notebooks
"pyphenology",
]
[project.urls]
Documentation = "https://springtime.readthedocs.io/en/latest/"
Issues = "https://github.com/phenology/springtime/issues"
Source = "https://github.com/phenology/springtime"
[project.scripts]
springtime = "springtime.main:cli"
[tool.hatch.version]
path = "src/springtime/__init__.py"
[tool.hatch.envs.default]
features = ["dev", "docs", "extras"]
[tool.hatch.envs.default.scripts]
quality-checks = [
"black src tests",
"ruff check src tests --fix",
"mypy src tests",
]
doctest = "pytest --doctest-modules --doctest-report none {args}"
[tool.mypy]
ignore_missing_imports = true
plugins = "pydantic.mypy"
[tool.hatch.metadata]
allow-direct-references = true