pyqtdeploy: Automatic sysroot plugin generation

Patrick Stinson patrickkidd at gmail.com
Sat Oct 12 01:57:44 BST 2024


Has anyone played with automatically generating sysroot plugins for pure-python extensions? I had the idea of adding pytest, flask and all their dependencies so that I could move my pytest suite into my app exe built by pyqtdeploy. It would allow a Built-In Self Test (BIST) that would more thoroughly validate that the exe has everything it needs, e.g. no forgotten modules, C sources compiled correctly, also testing things out in strange deployment contexts.

Theoretically I think I have what I need to do this myself since it seems like all you need is a plugin file with the extension name, and a pyqtdeply.Component subclass with MyComponent.target_modules_dir that returns sysconfig.get_paths()["purelib”]. 

But just checking…

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20241011/6321a3ce/attachment.htm>


More information about the PyQt mailing list