Hi all,

I'm having a hard time trying to create a one file executable on windows
using pyinstaller 1.1.

My application uses pygtk, gtk+2 and libglade2.

I've tried to build a onedir executable. First problem arised with the
import of cairo made by gtk module: I had to add to hook-gtk.py the
hidden imports of 'cairo' and 'pangocairo' (see ticket #43 please).

Then, when I ran the exe I've got:

C:\pyinstaller_1.1\Demo\distDemo\Demo.exe:81: PangoWarning: No builtin or dynami
cally loaded modules were found. Pango will not work correctly. This
probably means
there was an error in the creation of:
  'C:\pyinstaller_1.1\Demo\distDemo\etc\pango\pango.modules'
You may be able to recreate this file by running pango-querymodules.

So I obviuosly need the pango.modules file under etc/pango directory.
I ran the pango-querymodules command and I wrote the output in a file,
and place them under
C:\pyinstaller_1.1\Demo\distDemo\etc\pango\pango.modules.
With this done I've finally got my app running, but the paths written
in pango.modules point to GTK installation :-(. No good if I want to
take that to a machine with no gtk at all.

So I need a one file exe, and I don't know how to make that one file
to have all the pango stuff in it. Can you please give me hand here?

Thanks a lot, Natalia.

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to