SpotlightKid / python-rtmidi

Python bindings for the cross-platform MIDI I/O library RtMidi
https://spotlightkid.github.io/python-rtmidi/
Other
349 stars 64 forks source link

Revert to prior init mechanism to support pypy #202

Closed georgeharker closed 1 month ago

georgeharker commented 1 month ago

During the change to meson, the ability to compile under pypy was lost.

Reverting just that change - ie restoring py_init.h and differentiating there on what to call restores compatibility with pypy

SpotlightKid commented 1 month ago

Thanks for the PR. I added PyPy builds to the CI in #203 and everything seems to build fine after the change, so I'm going to merge this now.