make maturin optional

This commit is contained in:
Tom 2025-02-12 18:20:50 +00:00
parent ee1bee2a01
commit 515e373c18
2 changed files with 10 additions and 10 deletions

View File

@ -78,17 +78,17 @@ There are many valid ways one could compress this tree. If we add the restrictio
q.compress()
````
```{warning}
Without the above restriction we could, for example, have:
```
root
├── class=od, expver=0001/0002, param=1/2
└── class=rd
├── expver=0001, param=3
└── expver=0001/0002, param=1/2
```
root
├── class=od, expver=0001/0002, param=1/2
└── class=rd
├── expver=0001, param=3
└── expver=0001/0002, param=1/2
but we do not allow this because it would mean we would have to take multiple branches in order to find data with `expver=0001`.
```
What we have now is a tree of dense datacubes which represents a single larger sparse datacube in a more compact manner. For want of a better word we'll call it a Qube.

View File

@ -1,6 +1,6 @@
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "qubed"
@ -27,7 +27,7 @@ features = ["pyo3/extension-module"]
[project.optional-dependencies]
rust-backend = ["maturin", "pyo3"]
rust-backend = ["maturin>=1.7,<2.0", "pyo3"]
stac_server = [
"fastapi",