-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
85 lines (75 loc) · 1.89 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "wxee"
dynamic = ["version"]
description = "Earth Engine to xarray interface"
readme = "README.rst"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Aaron Zuspan", email = "[email protected]" },
]
keywords = [
"earth-engine",
"xarray",
"time-series",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
"Typing :: Typed",
]
dependencies = [
"earthengine-api",
"joblib",
"rasterio",
"requests",
"rioxarray",
"tqdm",
"xarray",
]
[project.urls]
Homepage = "https://github.com/aazuspan/wxee"
[tool.hatch.version]
path = "wxee/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["/wxee"]
[tool.hatch.envs.default]
dependencies = ["pre-commit"]
[tool.hatch.envs.docs]
dependences = [
"nbsphinx",
"sphinx",
"sphinx-rtd-theme",
]
[tool.hatch.envs.docs.scripts]
build = "sphinx-build -b html docs docs/_build/html"
view = "python -m webbrowser -t docs/_build/html/index.html"
[tool.hatch.envs.test]
dependencies = [
"pre-commit",
"netcdf4",
"plotly>=5.2.2",
"hvplot",
"matplotlib",
"mock",
"pytest",
"pytest-cov",
"requests_mock",
]
[tool.hatch.envs.test.scripts]
all = "pytest . {args}"
local = "pytest . -m 'not ee' {args}"
coverage = "pytest . --cov=wxee {args}"
view-coverage = "python -m webbrowser -t htmlcov/index.html"
[tool.pytest.ini_options]
markers = "ee: Marks tests that require an Earth Engine connection. These can be skipped using `pytest -m 'not ee' .`"