[PySide] Packaging PySide2 for Fedora

Richard Shaw hobbes1069 at gmail.com
Wed Mar 27 15:42:08 CET 2019


On Wed, Mar 27, 2019 at 2:58 AM Cristián Maureira-Fredes <
Cristian.Maureira-Fredes at qt.io> wrote:

> Hello Richard,
>
> yes, port_v2 is the support for Python2,
> you can see a couple of import statements that look like:
>
>   1     if sys.hexversion >= 0x03000000:
>
>   2         from pyside2uic.port_v3.invoke import invoke
>
>   3     else:
>
>   4         from pyside2uic.port_v2.invoke import invoke
>
> inside "sources/pyside2-tools/pyside2-uic"
> so it's really strange that is picking up port_v2 if you are using python3.
>

I should have mentioned I gave up on setuptools due to the bug when using
--root and have gone with a straight CMake build and that both port_v2 and
port_v3 are installed.

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20190327/64e7404f/attachment.html>


More information about the PySide mailing list