Hi,
there's a "cimport_from_pyx" feature which mostly applies here. It probably
doesn't apply to ".py" files currently (it searches only ".pyx" files), but
that seems worth changing.
Downside is that it's somewhat costly to parse a complete ".py" file just
to extract the relevant exports / exportable functions and types.
I've had a recent discussion about auto-generating .pxd files from .py
files, though. I'll CC Dan to let him comment. Seems like there's at least
some interest in this feature.
Best,
Stefan
Mads Ynddal schrieb am 28.06.24 um 23:31: