A python package to run the SOLWEIG algorithm.
To install the package, run pip install umep-solweig
If you want some execution examples, look at the files inside the tests folder of the github.
To build you package you need to install the build pip package inside you venv.
pip install buildThe to build the plugin you can run :
python -m buildRun inside you terminal from the project's root :
pip install ./dist/umep_solweig-{version_year}.{version}-py{python_major_version}-none-any.whlIf you already have the package installed, do not forger to uninstall the current version before installing the new one with :
pip uninstall umep-solweig -yIf you're working on the code, please do not forger to run the tests after you've build and installed your local version of the package. This is a realy important step, do not avoid it. From the root run :
python -m pytest -q ./tests/Ps: a new algorithm added or a new feature added means a new test added. If you've change the way an algorithm is working, please update the tests.