[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy: Adding complex third-party extensions
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2019-02-14 16:01:01
Message-ID: 527B8C4E-7A7C-46A7-9101-8F19CEFA4CAE () gmail ! com
[Download RAW message or body]

Phil,

For reference while writing this feature, the Crypto module compiles.so binaries that \
it then dynamically loads the symbols for using ffi via its own python loader code. I \
imagine that adds complications to your plan.

-Patrick

> On Feb 2, 2019, at 3:53 AM, Patrick Stinson <patrickkidd@gmail.com> wrote:
> 
> 
> 
> > On Feb 2, 2019, at 1:46 AM, Phil Thompson <phil@riverbankcomputing.com> wrote:
> > 
> > On 1 Feb 2019, at 8:50 am, Patrick Stinson <patrickkidd@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
> 
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic