-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (80 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
85 lines (80 loc) · 2.44 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
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "mortie"
dynamic = ["version"]
description = "Morton numbering and indexing for healpix grids"
authors = [
{ name = "Shane Grigsby (espg)", email = "refuge@rocktalus.com" },
]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["healpix", "geohashing", "morton index"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.10" # Rust bindings use abi3-py310
dependencies = [
"numpy>=1.20",
]
[project.urls]
"Homepage" = "https://github.com/espg/mortie"
"Bug Tracker" = "https://github.com/espg/mortie/issues"
[project.optional-dependencies]
test = [
"pytest>=8.0",
"pytest-cov>=4.0",
]
bench = [
"pytest",
"pytest-cov>=4.0",
"pytest-codspeed>=4.3.0",
]
docs = [
# Runtime deps for the example notebooks (examples/*.ipynb).
"jupyterlab>=4.0",
"notebook>=7.0",
"ipykernel>=6.0",
"matplotlib>=3.7",
"shapely>=2.0",
"geopandas>=0.14",
"pyogrio>=0.7", # geopackage backend for geopandas
"earthaccess>=0.10", # NASA Earthdata access (CMR / DAAC auth)
"cartopy>=0.22", # polar-stereographic plots for Antarctic data
"requests>=2.31",
"ipywidgets>=8.0", # interactive slider in the Denman velocity notebook
"ipympl>=0.9", # interactive matplotlib backend (optional zoom/pan)
"holoviews>=1.20", # bokeh-based interactive plots with built-in zoom toolbar
"bokeh>=3.4", # backend for holoviews
"xarray>=2024.1", # NetCDF-4 reading for NSIDC-0761 velocity grids
"h5netcdf>=1.3", # backend for cloud-friendly xarray opens
"netCDF4>=1.6", # fallback NetCDF backend
"pyproj>=3.6", # EPSG:3031 <-> lat/lon reprojection of velocity pixels
"scipy>=1.11", # cartopy image-transform dependency
]
[tool.pytest.ini_options]
testpaths = ["mortie/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--cov=mortie",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.maturin]
python-source = "."
module-name = "mortie._rustie"
bindings = "pyo3"
features = ["pyo3/extension-module"]