-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
86 lines (74 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
86
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sankee"
dynamic = ["version"]
description = "Visualize classified time series data with interactive Sankey plots in Google Earth Engine."
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Aaron Zuspan", email = "aazuspan@gmail.com" },
]
keywords = [
"earth-engine",
"sankey",
"land-cover",
"visualization",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"earthengine-api>=0.1.230",
"numpy",
"pandas",
"plotly>=5.2.2",
"ipywidgets"
]
[project.urls]
Homepage = "https://github.com/aazuspan/sankee"
Source = "https://github.com/aazuspan/sankee"
[tool.hatch.version]
path = "sankee/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["sankee"]
[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 = [
"pytest",
"pytest-cov",
]
[tool.hatch.envs.test.scripts]
all = "pytest . {args}"
coverage = "pytest . --cov=sankee {args}"
view-coverage = "python -m webbrowser -t htmlcov/index.html"
[tool.ruff]
select = ["E", "F", "I", "UP", "B", "PT", "NPY", "PERF", "RUF"]
exclude = ["docs/"]
fix = true
show-fixes = true
line-length = 100
[tool.ruff.isort]
known-first-party = ["sankee"]