Moving to CMake / scikit-build #įor how to use scikit-build. NumPy itself will very likely migrate to Meson as well, once the SciPy SciPy will be a good reference for other packages who are migrating.įor more details about the SciPy migration, see: Meson as the build system, there should be no blockers left to migrate, and Numpy.distutils offers, so if SciPy has successfully made a release with Large superset, but right now some BLAS/LAPACK support is missing and there areĪ few open issues related to Cython. This process, any remaining issues with Meson’s Python support and achievingįeature parity with numpy.distutils will be resolved. SciPy is moving to Meson for its 1.9.0 release, planned for July 2022. Numpy.distutils is unlikely to be ported to setuptools. Setup.py files) and have been happy with numpy.distutils so far, youĬan also consider switching to setuptools. If you have modest needs (only simple Cython/C extensions, and perhaps nested You want to be using a well-designed, modern and reliable build system, weĬMake (or scikit-build as an interface to CMake) You have compiled code in your package (if not, we recommend using Flit) and There are several build systems which are good options to migrate to. It may be beneficial to wait with migrating until there areĮxamples from other projects to follow (see below). It is not necessary to migrate immediately - the release date for Python 3.12 See Interaction of numpy.distutils with setuptools for details. Numpy.distutils is only tested with setuptools < 60.0, newer
0 Comments
Leave a Reply. |