Hi Andrea :)
Well if I'm asking this its because I do want to deliver my application in a bundled way. I have already some files and directory with it and I wouldn't like to add more (dll dependancies, pyd, zip etc). It's a lot cleaner bundled. As a side not even with "zipfile" option set to "None" the behavior is the same.
Thomas


> Date: Thu, 2 Oct 2008 10:00:04 +0100
> From: andrea.gavana@gmail.com
> To: kelsolaar_fool@hotmail.com
> Subject: Re: [Py2exe-users] PyQt, Jpeg and 'bundle_files'
>
> Hi Thomas,
>
> On Thu, Oct 2, 2008 at 8:20 AM, <kelsolaar_fool@hotmail.com> wrote:
> > Hello o/
> >
> > I'm using py2exe to package a PyQt Application, it's currently working
> > pretty well, it's a load faster at load than pyInstaller but I'm getting a
> > really annoying problem :
> > My PyQt application need to load jpeg files at some point, the jpeg support
> > in qt is provided as form of a plugin, so there is the trick to include the
> > qt.conf file plus PyQt4/plugins/imageformats/qjpeg4.dll into your
> > distribution. The problem is that if you choose the bundle_files options the
> > application seems to not see the qjpeg4 dll anymore and can't display jpeg
> > files. Does anyone have a workaround for this ?
>
> Yes, do not use the bundle_files option (I mean, set it to 3) and use
> InnoSetup or NSIS to build a standalone single executable installer
> for your application. The number of files that are present in an
> installation folder is the last concern for a user, so bundle_files=3
> should be fine.
>
> Andrea.
>
> "Imagination Is The Only Weapon In The War Against Reality."
> http://xoomer.alice.it/infinity77/


Souhaitez vous  « ętre au bureau sans y ętre » ? Oui je le veux !