Some questions about next versions of SIP

Kovid Goyal kovid at kovidgoyal.net
Wed Sep 16 03:43:24 BST 2020


On Tue, Sep 15, 2020 at 09:28:34PM +0300, Dmitry Shachnev wrote:
> Hi Kovid!
> 
> On Tue, Sep 15, 2020 at 10:12:55PM +0530, Kovid Goyal wrote:
> > So, I looked into moving calibre's build system to use sip5 +
> > sip-install and am currently stuck with the following:
> >
> > [...]
> 
> I cannot answer your question, but I just want to thank you for looking at
> the SIP v5 port of Calibre. It is currently the largest (and most popular)
> package in Debian that is still using SIP v4.

I'm actually a bit surprised you have not run into the same issue
yourself while packaging. How do you get pyqtwebengine installing into a
staging area? Thankfully I dont actually need pyqtwebengine's SIP
files/pyi files/toml files so I will just use sip-build an manually copy
out the three .so file and leave the junk behind.

> 
> https://github.com/kovidgoyal/calibre/commit/a4df5cc67ba6ee82 makes things
> a bit better, I have notified our maintainer about that commit. Of course,
> using the new build system (with pyproject.toml, etc.) would be even better.
> 

calibre is never going to use pyproject.toml, but I will have its build
system use sip-build to build its PyQt extensions (it will essentially
generate a fake project and call sip-build on that) and copy out the
.so files.


-- 
_____________________________________

Dr. Kovid Goyal 
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list