[PyQt] Windows/OS X installers for PyQt4 apps

Giovanni Bajo rasky at develer.com
Sat Feb 7 12:20:42 GMT 2009


On sab, 2009-02-07 at 13:09 +0100, Frédéric wrote:
> On samedi 07 février 2009, Giovanni Bajo wrote:
> 
> > > Does it mean you can package a Windows .exe from a linux system?
> >
> > Yes, PyInstaller SVN trunk can do that as well. It's undocumented at the
> > moment, but it mostly works. To make it work, you need to share a Python
> > Windows installation and of course all required 3rd party libraries.
> 
> Very impressive!
> 
> > Usually, you fire up a VM with Windows, install Python, PyQt and
> > whatever you need; make sure your application works within the VM with
> > Windows; then share the disk, go back to Linux, and launch PyInstaller
> > in cross-compilation mode, and point it to the mount point which maps to
> > "c:\python25".
> 
> Is it possible, once the Windows installation of PyQt and so is done, to 
> move all files to the linux filesystem, and do all things there? My idea 
> is to avoid having a VM running (I use VirtualBox, which takes a lot of 
> resources)...

Possibly, but I haven't tested it personally. You're welcome to
experiment and report your successes or failures on PyInstaller's
mailing list (or anywhere you like to post).

> What files do I need? Only the c:\python25 dir and its content?

I think so.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list