[PyQt] Re: py2exe and resource files
Tiago Maluta
tiago.maluta at gmail.com
Fri Nov 13 22:04:25 GMT 2009
I just realize that happens with file format because with a simple
test on .qrc file:
- <file>logo.jpg</file>
+ <file>logo.png</file>
After changed to png everything works, note I with the same setup.py
described on the previous message.
I didn't try other formats yet.
--tm
On Fri, Nov 13, 2009 at 11:02 AM, Tiago Maluta <tiago.maluta at gmail.com> wrote:
> 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
>
> sys.argv.append('py2exe')
> setup(
> options = {'py2exe': {"includes":["sip"],"bundle_files": 1 }},
> windows = [{'script': "window.py"}],
> zipfile = None,
> )
>
> There are some workaround for this?
>
> --tm
>
More information about the PyQt
mailing list