Comparison
cmake-build-extension vs meson-python vs scikit-build-core vs setuptools
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Setuptools extension to build and package CMake projects.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install cmake-build-extensionThe Python build backend for Meson projects
Actively maintained. Last release 2 months ago, commits in 14 of the last 26 weeks. A safe choice.
pip install meson-pythonBuild backend for CMake based projects
Actively maintained. Last release 4 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install scikit-build-coreMost extensible Python build backend with support for C/C++ extension modules
Actively maintained. Last release 6 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
pip install setuptoolsIn short
- cmake-build-extension is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- setuptools is the most used: 1.1B downloads a month, 111× more than meson-python.
- Maintenance is comparable: meson-python 85, scikit-build-core 85, setuptools 77 on Pythie’s Index.
- Safe default for a new project: setuptools.
Side by side
| Metric | cmake-build-extension | meson-python | scikit-build-core | setuptools |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 85 |