Subject Re: [firebird-python] Kinterbasdb doesn't work after creation of exe with Py2exe/PyInstaller
Author Werner F. Bruhin
Pavel,

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).
>
>
Exactly, that is what the setup.py I attached in the previous email does.

As I use sqlalchemy it is:
packages = ['sqlalchemy.databases.firebird']

if you don't use SA then one could do:
packages = ['kinterbasdb']

Werner