[PyQt] How to compile with PyQt5?
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
> >>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...
Dr. Kovid Goyal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: not available
More information about the PyQt