On Mon, Jan 12, 2026 at 3:15 PM Nils Bruin <[email protected]> wrote: > > > On Monday, 12 January 2026 at 13:09:01 UTC-8 [email protected] wrote: > > I'm not sure about "much harder", why? > I don't know the current status of setuptools in this regard is. > Tobias has switched cysignals, memory_allocator, cypari2 and > primecountpy to use meson, > and it didn't look like a huge change, code-wise. > > > The "harder" is in comparison to what you do for setup.py: just copy-paste > from the cython documentation: > https://cython.readthedocs.io/en/latest/src/quickstart/build.html
:facepalm: cython is living in the past. Often their advice is outdated. Let's copy/paste some outdated stuff around and hope it works, it's so easy... pythonproject.toml is STRONGLY RECOMMENDED for a reason > > it's not clear to me where to find such a straightforward solution for > pyproject.toml we have enough examples; suggect one for cython folks. > If it's declarative I wouldn't expect that calling "cythonize" is still an > option, since that's basically executing arbitrary python code (at least as > far as the build system is concerned). It's declarative, thanks goodness! You don't have to call stuff, unless pressed hard to do so. mesonpy is clever enough to understand how to deal with Cython. I suggest to have a look at the simplest example we have: https://github.com/sagemath/memory_allocator/blob/main/pyproject.toml https://github.com/sagemath/memory_allocator/blob/main/meson.build > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/200e4ef4-bb54-4e3a-b0f9-3aadc68e22dfn%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0o96bxA%3DK57YwuaoadEEGcJzYEuX0Q%2BK22iKUjydbY9w%40mail.gmail.com.
