[PyQt] py2exe and resource files

Tiago Maluta tiago.maluta at gmail.com
Fri Nov 13 13:02:45 GMT 2009

I had an simple PyQt4 program that uses a resource file. After
executable generation I can't see the resource file content. I tried
many variations (i.e: 'data_contents') but anyone works

Basically my script is:

from distutils.core import setup
import py2exe, sys, os

                options = {'py2exe': {"includes":["sip"],"bundle_files": 1 }},
                windows = [{'script': "window.py"}],
                zipfile = None,

There are some workaround for this?


More information about the PyQt mailing list