DassHydro / smash

An open source, Python library interfacing the Fortran Spatially distributed Modelling and ASsimilation for Hydrology platform.
https://smash.recover.inrae.fr/
GNU General Public License v3.0
12 stars 6 forks source link

ENH: Meson build system #172

Closed inoelloc closed 4 months ago

inoelloc commented 4 months ago

This commit is a major change in the way smash is installed. The smash build system was based on a Makefile, each step of which was independent. Installation was not done directly with the pip install command, but by first compiling the sources and then installing the output python package. Managing a multi-language package, Fortran, C and python, is not particularly practical via a Makefile. To facilitate the build system process, smash is installed using meson.

A number of changes have been made to integrate meson:

An upcoming PR will document the entire installation process for users, bearing in mind that once wheels are available, users will be able to pip install directly from PyPi. Probably under the name dasshydro-smash