Dmitry, ok, I understand what's happening now. Prior to PyQt5 version
5.7, importing pyuic would run the code, whereas as of version 5.7, the
code is put under a main() function, which is called here:

if __name__ == '__main__':
    main()

The PyQt5 author must have had his reason(s) to do so. I'll submit a
patch to support PyQt5 => 5.7 for QGIS. Hopefully this issue can raise
awareness to other projects running in the same issue :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619840

Title:
  pyqt5's pyuic module import doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyqt5/+bug/1619840/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to