-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
213 lines (186 loc) · 5.04 KB
/
Copy pathpyproject.toml
File metadata and controls
213 lines (186 loc) · 5.04 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "IS2view"
version = "0.1.1"
description = "Interactive visualization and data extraction tool for the ICESat-2 ATL14/15 Gridded Land Ice Height Products"
keywords = [
"ICESat-2",
"elevation",
"Digital Elevation Model",
"Jupyter",
"xarray",
]
authors = [
{name = "Tyler Sutterley"},
{email = "tsutterl@uw.edu"}
]
maintainers = [
{name = "IS2view contributors"}
]
license = "MIT"
license-files = ["LICENSE"]
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = "~=3.9"
dependencies = [
"dask",
"geopandas",
"h5netcdf",
"ipyleaflet",
"jupyterlab",
"matplotlib",
"numpy",
"rioxarray",
"xarray",
"xyzservices",
]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Physics",
]
[project.urls]
Homepage = "https://IS2view.readthedocs.io"
Documentation = "https://IS2view.readthedocs.io"
Repository = "https://github.com/tsutterley/IS2view"
Issues = "https://github.com/tsutterley/IS2view/issues"
[project.optional-dependencies]
doc = ["docutils", "graphviz", "myst-nb", "numpydoc", "sphinx", "sphinxcontrib-bibtex", "sphinx-design", "sphinx_rtd_theme"]
all = ["boto3", "bottleneck", "cmocean", "obstore", "owslib", "s3fs", "zarr"]
dev = ["flake8", "gh", "pytest>=4.6", "pytest-cov", "pytest-xdist"]
[tool.setuptools.packages.find]
exclude = ["providers*", "run*", "test*"]
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ".git"
addopts = "-n auto --verbose --capture=no -W ignore::UserWarning"
python_files = [
"test*.py"
]
testpaths = [
"test"
]
[tool.coverage.run]
branch = true
source = [
"IS2view",
]
omit = [
"doc/*",
"test/*",
]
[tool.coverage.report]
show_missing = true
precision = 2
[tool.ruff]
line-length = 80
indent-width = 4
exclude = [
".git",
".pixi",
"build",
"doc",
"run",
"test",
]
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# ruff-specific
"RUF",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"
docstring-code-format = false
[tool.pixi.workspace]
name = "IS2view"
authors = ["IS2view contributors"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "win-64"]
[tool.pixi.pypi-dependencies]
IS2view = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
all = { features = ["all"], solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
doc = { features = ["doc"], solve-group = "default" }
[tool.pixi.tasks.start]
cmd = "jupyter lab"
cwd = "doc/source/notebooks"
description = "Start JupyterLab in the notebooks directory"
[tool.pixi.tasks.export-env]
args = [ { "arg" = "flags", "default" = "" } ]
cmd = "pixi workspace export conda-environment {{ flags }} > environment.yml"
description = "Export workspace to a conda environment file"
[tool.pixi.feature.doc.tasks.docs]
args = [ { "arg" = "builder", "default" = "html"}, { "arg" = "flags", "default" = "" } ]
cmd = "make {{ builder }} {{ flags }}"
cwd = "doc"
description = "Create documentation with sphinx"
[tool.pixi.feature.doc.tasks.clean-docs]
args = [ { "arg" = "builder", "default" = "html"}, { "arg" = "flags", "default" = "" } ]
cmd = "make clean && make {{ builder }} {{ flags }}"
cwd = "doc"
description = "Remove build artifacts and rebuild the documentation with sphinx"
[tool.pixi.feature.dev.tasks.lint]
args = [ { "arg" = "flags", "default" = "--select=E9,F63,F7,F82 --show-source" }, { "arg" = "test", "default" = "." } ]
cmd = "flake8 {{ test }} --count {{ flags }} --statistics --extend-exclude 'build/,run/,*.ipynb_checkpoints/,.pixi/'"
description = "Run flake8 to check for compilation errors"
[tool.pixi.feature.dev.tasks.coverage]
cmd = "pytest -n=0 --cov=IS2view --junitxml=pytest.xml --cov-report=xml test"
description = "Run the pytest suite and create coverage reports"
[tool.pixi.dependencies]
dask = "*"
geopandas = "*"
h5netcdf = "*"
ipyleaflet = "*"
jupyterlab = "*"
matplotlib-base = "*"
numpy = "*"
rioxarray = "*"
xarray = "*"
xyzservices = "*"
[tool.pixi.feature.all.dependencies]
boto3 = "*"
bottleneck = "*"
cmocean = "*"
obstore = "*"
owslib = "*"
s3fs = "*"
zarr = "*"
[tool.pixi.feature.dev.dependencies]
flake8 = "*"
gh = "*"
pytest = "*"
pytest-cov = "*"
pytest-xdist = "*"
[tool.pixi.feature.doc.dependencies]
docutils = "*"
graphviz = "*"
myst-nb = "*"
numpydoc = "*"
sphinx = "*"
sphinxcontrib-bibtex = "*"
sphinx-design = "*"
sphinx_rtd_theme = "*"