[PyQt] pyqtdeploy: Adding complex third-party extensions

Phil Thompson phil at riverbankcomputing.com
Sat Feb 2 10:46:38 GMT 2019


On 1 Feb 2019, at 8:50 am, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Hello,
> 
> What is the recommended way to add a rather complex Python/CPython extension module to a pyqtdeploy project? Is it to manually add the python files under “Other Packages” and the C files under “Other Extension Modules”?

Yes.

> Or maybe add the C files under the qmake config?
> 
> I want to add pycryptodome, which uses both python and C files. It’s setup.py is attached.

I plan to tie pyqtdeploy and the sysroot closer together in a future release. A sysroot will contain meta-data about what it contains, its dependencies and (if necessary) how it is configured. You will then just be able to pick a package from a list as you currently do with the PyQt modules.

Phil


More information about the PyQt mailing list