[PyQt] PyQt 4.7 and py2exe error

Scott Ballard scott at scottballard.net
Tue Feb 9 16:51:32 GMT 2010


Does that work for the .ui files as well? I haven't been able to get 
py2exe to compile successfully if it includes a .ui. Instead I've had to 
convert the .ui file using pyuic4 to a python file and import it from there.

Any tips or tutorials for using .ui files with py2exe or pyInstaller?
Thanks!

On 2/9/2010 7:22 AM, Giovanni Bajo wrote:
> Il giorno lun, 08/02/2010 alle 18.30 -0800, Scott Ballard ha scritto:
>    
>> Wow, that worked like a charm! I'd love to get Phil's input on this one.
>> The package looks like a dummy package but I dont know.
>>      
> py2exe thinks that you need port_v3 (which is Python 3.0 code, so
> invalid for Python 2.x programs), because the code optionally imports
> it.
>
> Note that PyInstaller takes automatically care of this and other PyQt
> packaging issues (eg: plugins).
>
>    


More information about the PyQt mailing list