Libor Morkovsky  committed ef42c00

Added PyQt4.QtGui load hook that adds plugins/imageformats to destination directory.

  • Participants
  • Parent commits 8913025
  • Branches default

Comments (0)

Files changed (1)

File cx_Freeze/

+def load_PyQt4_QtGui(finder, module):
+    """There is a chance that GUI will use some image formats
+    add the image format plugins
+    """
+    dir0 = os.path.dirname(module.file)
+    dir = os.path.join(dir0, "plugins", "imageformats")
+    finder.IncludeFiles(dir, "imageformats")
 def load_scipy(finder, module):
     """the scipy module loads items within itself in a way that causes