port-to-meson-python
Build a Python package (usually with a compiled C/C++/Cython/Fortran/Rust extension) with the meson-python PEP 517 backend, or port one off a bespoke setuptools setup.py. Covers the pyproject.toml backend, the meson.build (project / extension_module / install_sources), VCS/dynamic versioning computed in meson.build, editable installs, config-settings, and abi3 / limited-API wheels. Use when asked to adopt meson-python or Meson, scaffold a new meson-python project, drop setup.py, or produce standards-based wheels.
Pinned to revision 0c51c24122b3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/port-to-meson-python/SKILL.md
- skills/port-to-meson-python/AGENTS.md
- skills/port-to-meson-python/README.md
- skills/port-to-meson-python/reference/example.md
- skills/port-to-meson-python/reference/meson-cookbook.md
Every link opens the file at its source, pinned to the revision this page describes.