Installation

The easy way

Binary distributions of Alouette are avaible from PyPI. The Python 3 package and the C library can be installed using pip, e.g. as:

pip3 install alouette

Note

The C library, libalouette, is shipped with the alouette Python 3 package. Installing the Python package also installs alouette-config, a configuration script that simplifies linking against the C library, e.g. using $(alouette-config --cflags) and $(alouette-config --libs).

From source

Alouette can be built from source using the provided Makefile, e.g. as:

make CC=gcc
make package CC=gcc PYTHON=python3

where the second line builds the Python 3 package. The optionnal CC and PYTHON environment variables specify the compiler and the Python interpreter used for the build process.

Warning

A Fortran 2003 compatible compiler is required in order to build Alouette from source, e.g. gfortran. However, there is no runtime dependency on Fortran.