[Numpy-discussion] setuptools/distutils merger & numpy.distutils

Daniele Nicolodi daniele at grinta.net
Sun Sep 6 04:42:52 EDT 2020


On 06/09/2020 07:06, David Cournapeau wrote:
> Assuming the numpy.distutils codebase has not changed much in the last
> 10 years, my sense is that a lot of the features that relied on monkey
> patching can be merged upstream,  fortran support being one notable
> exception.

This may be bigger endeavor, but wouldn't it be possible to extend
setuptools interfaces in a way that plugging in the fortran support does
not require monkey patching or accessing the implementation internals?

Such an extension could also be used to extend setuptools to handle
extensions written in other languages such as Rust.

By the way, how is Cython affected by this? Cython also distributes an
extension to (the module formerly know as) distutils to transparently
compile extensions written in Cython. Could the efforts toward
multi-language support in distutils be coordinated with the Cython
maintainers?

Cheers,
Dan


More information about the NumPy-Discussion mailing list