Anthony Tuininga  committed 65e5e3d Merge

Merged in liborm/cx_freeze (pull request #11)

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

  • Participants
  • Parent commits 90e9dde, ef42c00
  • 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