-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (107 loc) · 2.47 KB
/
pyproject.toml
File metadata and controls
119 lines (107 loc) · 2.47 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
119
[project]
name = "terrapyn"
version = "0.3.3"
description = "Toolkit to manipulate Earth observations and models."
authors = [{name = "Colin Hill", email = "colinalastairhill@gmail.com"}]
readme = "README.md"
license = {file = "LICENSE.md"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"xarray>=2025.6.1",
"pandas>=2.3.1",
"numpy>=2.2.6",
"scipy>=1.15.3",
"dask>=2025.7.0",
"netcdf4>=1.7.2",
"zarr>=2.18.3",
"bottleneck>=1.5.0",
"geopandas>=1.1.1",
"matplotlib>=3.10.5",
"shapely>=2.1.1",
"ipykernel>=6.30.1",
"pyarrow>=21.0.0",
"fiona>=1.10.1",
"tqdm>=4.67.1",
"jupyterlab>=4.4.6",
"rioxarray>=0.19.0",
"scikit-learn>=1.7.1",
"seaborn>=0.13.2",
"odc-geo>=0.4.10",
"gcsfs>=2025.7.0",
"bokeh>=3.7.3",
"openpyxl>=3.1.5",
"distributed>=2025.7.0",
]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build.targets.wheel]
packages = ["terrapyn"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]
[tool.hatch.version]
path = "pyproject.toml"
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple/"
publish-url = "https://upload.pypi.org/legacy/"
explicit = true
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.ruff]
line-length = 120
target-version = "py312"
extend-exclude = [
".venv",
]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle errors
"F", # pyflakes
"UP", # pyupgrade
"D", # pydocstyle
"I", # isort
"PD", # pandas-vet
"SIM", # flake8-simplify
"NPY", # numpy-specific
]
ignore = [
"D1",
"D2",
"D4",
"TID",
"D400", # Period at the end of the first line of a docstring
"PD901", # generic variable name `df` for DataFrames
]
[tool.ruff.format]
indent-style = "tab"
[tool.ruff.lint.pydocstyle]
convention = "google"
[dependency-groups]
dev = [
"freezegun>=1.5.5",
"hatch>=1.14.1",
"pre-commit>=4.3.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"pytest-xdist>=3.6.1",
"ruff>=0.12.10",
]
[tool.pytest.ini_options]
addopts = "--doctest-modules --cov=terrapyn --cov-branch --cov-report term-missing -vv --color=yes -n auto"