[PyQt] pyqtdeploy: Adding complex third-party extensions

Patrick Stinson patrickkidd at gmail.com
Sat Feb 2 11:53:05 GMT 2019



> On Feb 2, 2019, at 1:46 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> 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.
> 

Wow, that is quite a stout goal. I will be happy to see how you implement it, especially considering how strict you have always appeared to be about principled design. Good luck!

> Phil



More information about the PyQt mailing list