Week 9: Meson backend for F2PY is completed (Mostly)

Published: 08/16/2022

Completing major part of Meson backend for F2PY

What did I do this week?

As you know, F2PY provides compilation options to build the Python module for you. As distutils is being deprecated, F2PY is moving away from using NumPy's distutils for building shared libraries. Therefore, F2PY community had agreed to integrate Meson building option into F2PY. I am happy to say that most of the compilation options F2PY provides have been successfully integrated into Meson. I will release a bigger blog post explaining the changes that have taken place and the decisions made by me.

What will I do next week?

I will integrate --f77exec, --f90exec, --f77flags and --f90flags into meson building. These will be implemented through custom_targets options of Meson.

Did I get stuck anywhere?

No, all this was already planned months ago, I am not stuck anywhere.