A developer tool for scientific Python libraries
Developers need to memorize a whole bunch of magic command-line
incantations. These incantations may also change over time. Often,
Makefiles are used to provide aliases, but Makefiles can be convoluted,
are not written in Python, and are hard to extend. The goal of spin is
therefore to provide a simple, user-friendly, extendable interface for
common development tasks. It comes with a few common build commands out
the box, but can easily be customized per project.
As a curiosity: the impetus behind developing the tool was the mass
migration of scientific Python libraries (SciPy, scikit-image, and
NumPy, etc.) to Meson, after distutils was deprecated. When many of the
build and installation commands changed, it made sense to abstract away
the nuisance of having to re-learn them.
https://pypi.org/project/spin/
https://github.com/scientific-python/spin/
PR: 286048