I created a small blog post. How to combine #meson and #PDM to build #Python extensions.
It's a good alternative to good old setup.py.

https://gaphor.org/2024/07/28/meson-python-pdm/

# Packaging #MesonPython

Building Python extensions with Meson and PDM

In this post I’ll outline a workflow for developing native extensions for Python. The build tool of choice is Meson, and we’ll use PDM to ensure a frictionless developer experience.

Gaphor, the SysML/UML modeling tool

#ThisMonthInFluiddyn - Jan 2024 edition

Plenty on the packaging front this time.

🔹Ported to #pdm as packaging tool for most of our projects.

🔹Trying out #pixi as an alternative to #conda / #mamba. Lock files are great, but we had some hiccups.

https://foss.heptapod.net/fluiddyn/fluidsim/-/blob/cc2b4f9a644d41a224b1053c046f323591df809d/pixi.toml#L1-6

🔹#transonic has implemented an experimental support for #meson and #MesonPython. Unreleased and nothing final yet, but tests on #fluidsim and discussion at #Pythran is ongoing.

https://github.com/serge-sans-paille/pythran/issues/2170

#Python #fluiddyn

pixi.toml · cc2b4f9a644d41a224b1053c046f323591df809d · fluiddyn / fluidsim · GitLab

An extensible framework for studying fluid dynamics with numerical simulations using Python

GitLab