Some questions about next versions of SIP

Kovid Goyal kovid at kovidgoyal.net
Wed Sep 16 04:29:58 BST 2020


Thanks, Eli. --no-make looks like the missing piece. With it I can
even parallelize the build.

On Tue, Sep 15, 2020 at 11:20:56PM -0400, Eli Schwartz wrote:
> On 9/15/20 10:43 PM, Kovid Goyal wrote:
> > 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://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/pyqtwebengine#n20
> 
> Currently uses sip-build, make, make INSTALL_ROOT="$pkgdir" install
> 
> 
> >> 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.
> 
> I rather figured pyproject.toml was extremely surplus to requirements
> for a project that isn't a PyPI module and builds in the manner of a
> complex system program that merely happens to be *mostly* python, so
> this does not surprise me at all. :)
> 
> -- 
> Eli Schwartz
> Arch Linux Bug Wrangler and Trusted User
> 




-- 
_____________________________________

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


More information about the PyQt mailing list