pyqtdeploy: Automatic sysroot plugin generation

Patrick Stinson patrickkidd at gmail.com
Sat Oct 12 02:02:20 BST 2024


Or alternatively, has anyone monkeyed around with just including pip in the exe and then adding code to the app to install a predefined set of wheels? I could have the app do this before running the BIST.

> On Oct 11, 2024, at 4:57 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> 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/feeeb8b5/attachment.htm>


More information about the PyQt mailing list