Re: [PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread Hans-Peter Jansen
Am Samstag, 27. Juni 2009 schrieb Michael Held: > hi again, > > I think I did not fully understood it: of course can I compress > everything and put it on a website/ftp. but is there a way to run an app > with compressed parts, e.g. resources or a lot of Python scripts? but > this is maybe not the

Re: [PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread piotr maliński
You can use the (compressed) DMG but it's not a direct way of using an app :) W dniu 27 czerwca 2009 16:33 użytkownik Michael Held < michael.h...@bc.biol.ethz.ch> napisał: > hi again, > > I think I did not fully understood it: of course can I compress > everything and put it on a website/ftp. bu

Re: [PyQt] Regression problem with SIP

2009-06-27 Thread Phil Thompson
On Sat, 27 Jun 2009 22:42:17 +0200, Mitar wrote: > Hi! > > On Sat, Jun 27, 2009 at 5:15 PM, Phil > Thompson wrote: >>> And they contain sip files on which newer SIP versions fail. > > I have been testing it further and have discovered that even with > 4.7.7 version it fails. And this is strange

Re: [PyQt] Regression problem with SIP

2009-06-27 Thread Mitar
Hi! On Sat, Jun 27, 2009 at 5:15 PM, Phil Thompson wrote: >> And they contain sip files on which newer SIP versions fail. I have been testing it further and have discovered that even with 4.7.7 version it fails. And this is strange as I have installed Qwt 4 on a system (with SIP 4.7.7 version) be

[PyQt] Re: Deploying PyQt4 on Linux

2009-06-27 Thread Jeremy Sanders
ion vasilief wrote: > I'm trying to deploy an application ("my_app") > that uses Qt, Python, PyQt4 and SIP on Linux in a distribution > independent way (meaning that even if there are other default versions > of these libraries installed on the system, my_app will load at run > time the symbols f

Re: [PyQt] Deploying PyQt4 on Linux

2009-06-27 Thread Hans-Peter Jansen
Am Donnerstag, 25. Juni 2009 schrieb Andreas Pakulat: > On 25.06.09 11:04:30, Hans-Peter Jansen wrote: > > Am Donnerstag, 25. Juni 2009 schrieb ion vasilief: > > > Hello everybody, > > > > > > I'm trying to deploy an application ("my_app") > > > that uses Qt, Python, PyQt4 and SIP on Linux in a dis

Re: [PyQt] Regression problem with SIP

2009-06-27 Thread Phil Thompson
On Sat, 27 Jun 2009 13:01:55 +0200, Mitar wrote: > Hi! > > On Sat, Jun 27, 2009 at 11:57 AM, Phil > Thompson wrote: >> It depends what the problem is - impossible to tell without more >> information. > > And which information do you require? > > Code for above mentioned versions of PyQwt can be

[PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread Michael Held
hi again, I think I did not fully understood it: of course can I compress everything and put it on a website/ftp. but is there a way to run an app with compressed parts, e.g. resources or a lot of Python scripts? but this is maybe not the right forum to discuss about... yes, py2app will wrap ever

Re: [PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread Mitar
Hi! Those are clean-up commands I am using to clean-up a bundle of unnecessary Qt files (I am manually making a bundle and I do not build Qt4 as a framework): rm -rf ./Contents/Resources/Qt4/bin/ rm -rf ./Contents/Resources/Qt4/demos/ rm -rf ./Contents/Resources/Qt4/doc/ rm -rf ./Contents/Resourc

Re: [PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread piotr maliński
Zipped apps are common way to publish apps :) OS X can unzipp them and users can run the app. Another way is to make a disk image (DMG) and place the app in the disk image. Compressed DMG has the size close to a ZIP archive, and can have nice installer (a.k.a. copy to Applications), readmes etc. 1

[PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread Michael Held
hi piotr, yes, it looks like PyQt4 is using a lot of Pythons standard packages, so all the files in Contents/Resources/lib/python2.6/lib-dynload are most probably needed... I zipped and got 70MB with Qt debug files (from 200MB) and 15MB without (from 43MB). is there a way to provide an .app file

Re: [PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread piotr maliński
Debug libraries don't get excluded by "excludes" list so they will have to be removed. Also the package includes everything needed to run it - also some Python components. /Contents/Resources/lib/ 9,5 MB in my case /Contents/Frameworks/ 24,8 MB And it zipps to 12MB Note that the resulting binary

[PyQt] Re: py2app generates huge files (200MB)

2009-06-27 Thread Michael Held
hi piotr, thanks a lot for your help! aral balkan writes on his page that one "can remove the Qt debug files". these are ~150MB in my case and the *biggest* part of the problem. I guess I need to write a "better" Qt4 recipe for pyapp or I have to add some kind of clean-up step after the execution

Re: [PyQt] Regression problem with SIP

2009-06-27 Thread Mitar
Hi! On Sat, Jun 27, 2009 at 11:57 AM, Phil Thompson wrote: > It depends what the problem is - impossible to tell without more > information. And which information do you require? Code for above mentioned versions of PyQwt can be downloaded at: http://prdownloads.sourceforge.net/pyqwt/PyQwt-5.1.

Re: [PyQt] Regression problem with SIP

2009-06-27 Thread Phil Thompson
On Sat, 27 Jun 2009 11:36:00 +0200, Mitar wrote: > Hi! > > Both PyQwt-5.1.0 and PyQwt-4.2.3 fail to compile for Qt3 with SIP > 4.8.1. The error is: > > sip: ../sip/qwt5qt3/common/QwtMemArray.sip:35: %MappedType template > for this type has already been defined > sip: ../sip/qwt4qt3/common/QwtMem

[PyQt] ANN: New eric 4.4 snapshot released

2009-06-27 Thread Detlev Offenbach
Hi, I'd like to inform all of you about the immediate availability of a new eric 4.4 snapshot. It fixes a few bugs and adds these new features. - added support for opensearch search engines to the help viewer - added a few zoom related actions to the help viewer - added config option for printin

[PyQt] Regression problem with SIP

2009-06-27 Thread Mitar
Hi! Both PyQwt-5.1.0 and PyQwt-4.2.3 fail to compile for Qt3 with SIP 4.8.1. The error is: sip: ../sip/qwt5qt3/common/QwtMemArray.sip:35: %MappedType template for this type has already been defined sip: ../sip/qwt4qt3/common/QwtMemArray.sip:35: %MappedType template for this type has already been

Re: [PyQt] python 2.5 - pyQt and Qt: what's the right version?

2009-06-27 Thread Phil Thompson
On Fri, 26 Jun 2009 21:03:42 -0600, Melton Low wrote: > Hi Phil, > I just downloaded Qt 4.5.2 and Sip 4.8.1. Both installed with no problem. > But PyQt 4.5.1's configure.py gave me the incompatible message. What can > I > change to configure.py to get it to work? Use the current PyQt snapshot