On Sun, Sep 6, 2020 at 9:50 AM Daniele Nicolodi <dani...@grinta.net> wrote:
> 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? > Probably not, since distutils really doesn't have much of a design, or separation between API and implementation. > 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? > Cython.Distutils is a few hundred lines of code, numpy.distutils is 20,000 lines of code. I don't think Cython will have much problems adapting. Cheers, Ralf > Cheers, > Dan > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion