[PyQt] private sip?

Florian Bruhin me at the-compiler.org
Sun Jul 1 09:10:09 BST 2018


On Sat, Jun 30, 2018 at 09:10:16PM -0500, William Kyngesburye wrote:
> Sorry if this was answered already, I then missed it - I'm trying to build the latest PyQt5 5.11.1, but configure.py is complaining that it can't import PyQt5.sip:
> 
> Error: Unable to import PyQt5.sip. Make sure you have configured SIP to create
> a private copy of the sip module.
> 
> I don't see any option in sip (4.19.10) to build a "private" copy.

Took me a moment as well to figure it out, but it's this option:

  --sip-module=NAME     the package.module name of the sip module [default: sip]

i.e., passing --sip-module=PyQt5.sip will build sip as PyQt5.sip.

Florian

-- 
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180701/8e4b5cd0/attachment.sig>


More information about the PyQt mailing list