Subject | Re: [firebird-python] Kinterbasdb doesn't work after creation of exe with Py2exe/PyInstaller |
---|---|
Author | Jorge |
Post date | 2009-11-05T19:29:06Z |
Hi,
thanks a lot for your help.
The Werner Gui2Exe script worked (is working).
Thank you once again.
thanks a lot for your help.
The Werner Gui2Exe script worked (is working).
Thank you once again.
On Thu, Nov 5, 2009 at 11:06 AM, Werner F. Bruhin <werner.bruhin@...> wrote:
Pavel,
Exactly, that is what the setup.py I attached in the previous email does.
Pavel Cisar wrote:
> Jorge napsal(a):
>
>> Hi,
>> I have a application that uses kinterbasdb module, when I run the exe
>> (win32) generated by py2exe it runs OK,
>> until the call the kinderbasdb module where I get the message:
>> No Module named typeconv_24plus
>> is there a way to solve this or is a problem in kinterbasdb?
>>
>
> I don't have the solution at hand right now, but the problem is that
> py2exe didn't detected some dynamically imported modules
> (typeconv_24plus.py in this case) and hence didn't included them into
> frozen package. Consult the py2exe documentation how to add packages to
> resulting executable explicitly (it's via setup.py or py2exe project
> file or something like that).
>
>
As I use sqlalchemy it is:
packages = ['sqlalchemy.databases.firebird']
if you don't use SA then one could do:
packages = ['kinterbasdb']
Werner