[PyQt] How to compile with PyQt5?

Kovid Goyal kovid at kovidgoyal.net
Mon Aug 4 05:43:08 BST 2014


On Sun, Aug 03, 2014 at 06:20:27PM +0100, Phil Thompson wrote:
> >>>Either use the directory scheme Arch does, or hopefully Phil can give us
> >>>some official guidance on how to have PyQt5 for both python 2 and 3 on
> >>>the same system.
> >>
> >>I don't understand the problem. The PyQt5 .sip files are the same for
> >>Python
> >>2 and 3.
> >
> >Is that guaranteed to always be the case, forever?
> 
> Yes - why would I create work for myself?

Because you might be forced to by semantic differences in python 2 vs 3.
Of course, you would usually choose to handle those differences within SIP
rather than needing to express them in .sip files, but that may not
always be possible, I dont know enough about SIP to comment.

If you are willing to guarantee that the .sip files are always going to
be identical for py2 vs py3, then I suppose distro packagers should just
be using /usr/share/sip/PyQt5 and having one package overwrite the files
for the other, seems a bit messy, but...

Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140804/84d3a7bf/attachment.sig>


More information about the PyQt mailing list