Purma Jukka (2011-01-10 13:10):
> Hi,
> 
> I'm planning to move my Python+Qt project from PyQt4 to PySide before making 
> it public and adding license texts.  ( demo: 
> http://www.youtube.com/watch?v=UcH9Drp0FpE ) Soon after that I should have at 
> least Mac standalone app and Windows executable available for interested 
> people, but at this point I am a bit worried if I can get the existing 
> deployment tools like py2app, py2exe to work with PySide. I noticed that 
> cx_freeze is one new option too. My project uses only QtCore and QtGui and is 
> mostly done in Mac OS X Snow Leopard. My access to Windows machines is quite 
> rare, so I need a reliable method for building .exe:s.  
> 
> My question is, are there any people who are currently actively and 
> successfully deploying mac apps and windows .exes out from their PySide 
> projects? What tools are working and is the overall process "like it should 
> be" or something that will change with the progress of PySide (in near 
> months)? 
> 
> My current state is that I am still working with PyQt4 and my tries to get 
> PySide working have failed, probably because of 32bit/64bit mismatch 
> somewhere. If I spent some time with it, I could probably get it to work, but 
> I don't know if I should do the effort yet if the chances for successful 
> deployment in next few months are small. In other words, should I start 
> fighting with my tools and installation now, or should I stay coding my 
> project and wait for more experienced PySide people to get things 
> idiot-proofed?
> 
> Thanks for great work,
> 
> Jukka Purma
> Aalto University, School of art and design, MediaLab

Hi,

I have looked at various deployment tools in September and stayed with
cx_freeze. It worked equally well with both, PyQt4 and PySide, but
* I have tested only on Windows;
* I am importing only parts of QtCore, QtGui, QtWebKit and QtNetwork;
* I am still not sure how to handle fatal errors.

In the end, deploying was as simple as
  cxfreeze --base-name Win32GUI --target-dir=MyApp myapp.py

If you really want to move to PySide, you should try to do it as soon as
possible, because otherwise you are not only developing, but also testing
your app with PyQt4. I was doing the same and when the time came to
deploy, I realised that there is a missing binding in PySide, thus I had
to ship with PyQt4. The missing binding was added in 2 weeks, so I would
have been able to deploy using PySide, had I tested earlier.

-- 
--  Rogutės Sparnuotos
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to