On 18/06/14 05:18, Martin Zibricky wrote:
On Tuesday 17 of June 2014 15:01:54 Glenn Ramsey wrote:
There is a new file: loader/rthooks/pyi_rth_qt5.py which causes all of the
Qt modules to get included in the package if one module is included. It
also merges the names from each module into the PyQt5.Qt namespace. So if I
import only PyQt.QtCore then all of the Qt modules get included in the
package.
Recently there was a pull request that added pyi_rth_qt5.py because of a bug
in PyQt5 or Qt5.
Could it be related?
Yes, as I said above, the error I had was indirectly caused by this change
because it causes all of the Qt modules, including those that are not used, to
get packaged.
As an aside, I think this change needs some refinement. It may help
inexperienced developers by ensuring that their packaged PyQt program will run,
but there is also the other case where you don't want 10's of MB of unused
libraries included in the package. What would be the right way to handle this? I
guess I could explicitly remove the unwanted libraries in my spec file.
Glenn
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.