Does not support Cythonized modules
A fat-free DIY Python plugin management toolkit.
Brought to you by:
tibonihoo
Hi,
I started using Yapsy and I think this is a very cool library. However, I need to compile my plugins using cython and this is where the library fails. I looked up at the source code and it only looks for ".py" files which I think is not the only file extension for Python modules.
Anonymous
Hello, thanks and also... sorry if that didn't work in your case.
I'm not a heavy user of Cython to say the least, so I may be mistaken but it seems Cython modules don't get imported that easily (at least not without a specific set-up), right ? (again I'm not so familiar, please forgive me if I'm wrong).
To me importing Cython module may motivate wirting a new PluginLocator (see doc at https://yapsy.readthedocs.io/en/latest/PluginFileLocator.html)
Or if you're sure it's enough adding some customisation to the current PluginFileInfoLocator (like making the list of extensions customizable).
Unfortunately I don't have a realistic code sample to test and see if that would work and what are the pitfalls, so I won't do this extension my self, but... contributions are welcome !