You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split optional dependencies in pyproject.toml (#309)
* split optional deps
* comment out un-implemented readers
* remove _reader suffix
* add kerchunk as writer to cover fastparquet dependency
* embed the pyproject.toml in the installation docs
* notes on test and docs deps
* wording
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* release note
* update kerchunk version
* separate remote options
* remove sneaky git thing
* Update pyproject.toml
Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
* update kerchunk verion
* remove commented-out readers
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/installation.md
+28-1
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,43 @@ and on conda-forge:
12
12
conda install -c conda-forge virtualizarr
13
13
```
14
14
15
+
## Optional dependencies
16
+
17
+
VirtualiZarr has many optional dependencies, split into those for reading various file formats, and those for writing virtual references out to different formats.
18
+
19
+
Optional dependencies can be installed in groups via pip. For example to read HDF files and write virtual references to icechunk you could install all necessary dependencies via:
20
+
21
+
```shell
22
+
pip install "virtualizarr[hdf, icechunk]"
23
+
```
24
+
25
+
The full list of optional dependencies can be seen in the `pyproject.toml` file:
26
+
27
+
```{literalinclude} ../pyproject.toml
28
+
:start-at: "[project.optional-dependencies]"
29
+
:end-before: "test ="
30
+
```
31
+
32
+
The compound groups allow you to install multiple sets of dependencies at once, e.g. install every file reader via
33
+
34
+
```shell
35
+
pip install "virtualizarr[all_readers]"
36
+
```
37
+
38
+
The basic `pip install virtualizarr` will only install the minimal required dependencies, and so may not be particularly useful on its own.
15
39
16
40
## Install Test Dependencies
17
41
42
+
For local development you will want to install the test dependencies so that you can run all the tests in the test suite:
43
+
18
44
```shell
19
45
pip install '-e .[test]'
20
46
```
21
47
22
-
23
48
## Install Docs Dependencies
24
49
50
+
To build the documentation locally you will need further dependencies:
0 commit comments