[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] How To Publish a pyqt application
From:       "Giovanni Bajo" <rasky () develer ! com>
Date:       2006-03-28 11:52:38
Message-ID: 05ee01c6525e$1c36ba70$bf03030a () trilan
[Download RAW message or body]

V. Armando Sole <sole@esrf.fr> wrote:

>> thanks for that nice mailling-list ; and also pyqt .
>> but i have a serious problem with pyqt.
>> the problem is that i can't (or i don't know how to) publish my
>> applications written using pyqt .
>> as you know every pyqt application begins with from qt import * and qt
>> itself imports sip and qscintilla .
>>
>> so if i give my .py application to some one who has only linux installed
>> with python it won't work because he don't have pyqt installed
>>
>> i have tried cx-freeze in order to build a binary executable but it comes
>> with a lot of errors .
>
> I use cx_freeze on windows and on linux and it is simply the easiest for
> the end user. I distribute binaries build under SuSE 8.2 and they work on
> any linux flavour around. The main source or error coming from your code
is
> the reading of (non python) files. You have to find out where your frozen
> version is looking for them (just a couple of prints before each file load
> should give you a hint about where it is looking for them).
>
> Some libraries will not be found and you will have to add them by hand.
But
> that you will see it from the reported errors.
>
> My advice is that you should not give up and keep trying with cx_freeze.

Also PyInstaller works under Linux.
-- 
Giovanni Bajo

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic