-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (99 loc) · 2.99 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (99 loc) · 2.99 KB
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
[project]
name = "climdata"
version = "1.0.0"
dynamic = [
"dependencies",
]
description = "This project automates the fetching and extraction of weather data from multiple sources — such as MSWX, DWD HYRAS, ERA5-Land, NASA-NEX-GDDP, and more — for a given location and time range."
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"climdata",
]
license = {text = "MIT License"}
authors = [
{name = "Kaushik Muduchuru", email = "kaushik.reddy.m@gmail.com"},
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.entry-points."console_scripts"]
climdata = "climdata.main:run"
[project.optional-dependencies]
# pip install climdata[grid]
# Dask-parallel reprojection. rioxarray's own docs point at odc-geo for this;
# the plain (in-memory) reprojection path needs nothing beyond rioxarray.
grid = [
"odc-geo>=0.4",
]
# pip install climdata[full]
# Includes all optional imputation and ML backends.
# NOTE: pycatch22 and PyTorch are NOT included here — install them separately:
# conda install -c conda-forge pycatch22
# pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu
# pip install torch-cluster -f https://data.pyg.org/whl/torch-2.3.1+cpu.html
full = [
"scikit-learn",
"mlflow",
"xgboost",
"optuna",
"shap",
"scikit-optimize",
"pyswarms",
"statsmodels",
"MissForest",
"lightgbm",
"einops",
"ray",
"fire",
"fastdtw",
"pytorch-lightning",
"torchmetrics",
"toml",
]
[tool]
[tool.setuptools.packages.find]
include = ["climdata*"]
# sdba_usecase holds the research scripts, notebooks and geopackage behind the
# BCSD example. Kept in the repository for provenance, kept out of the wheel.
exclude = ["docs*", "climdata.sdba_usecase*"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
climdata = ["conf/**/*"]
[tool.distutils.bdist_wheel]
universal = true
[tool.bumpversion]
current_version = "1.0.0"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "climdata/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[tool.flake8]
exclude = [
"docs",
]
max-line-length = 88
[project.urls]
Homepage = "https://github.com/Kaushikreddym/climdata"
Documentation = "https://Kaushikreddym.github.io/climdata"
DOI = "https://doi.org/10.5281/zenodo.19554926"
Zenodo = "https://zenodo.org/record/19554926"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"