Installation for Developers

BlueMath is already available via pip.

To test its capabilities locally, please run the following commands:

  1. Clone the repository from GitHub:

git clone https://github.com/GeoOcean/BlueMath_tk.git
  1. Move inside the directory to install everything:

cd BlueMath_tk
  1. Create a compatible environment with Python >= 3.11 (example with conda):

conda create -n bluemath-dev python=3.11
  1. Then activate the environment using:

conda activate bluemath-dev
  1. Change pyproject.toml name to avoid errors:

mv pyproject.toml pyproject.toml.bak
  1. Finally, install package in development mode:

pip install -e .