Installation

Using pip

so far only a development (editable) version is installable [locally] via pip

Please install as indicated below under “using git”

Using git

Regular install from local repository

git clone https://git.gfz-potsdam.de/hydro/hygra/hygra.git
pip install -r path/to/hygra/requirements.txt
pip install path/to/hygra

For development, you might prefer installing as editable

pip install -e <path/to/hygra>

Build documentation

Install additional requirements

pip install -r path/to/hygra/docs/requirements.txt

Build

cd docs/
make html

HTML documentation should now be found in docs/_build/html/.

Tests

Install additional requirements

pip install -r tests/requirements.txt

Run all tests

cd tests/
pytest