Well I managed to make a standalone installer for a pygtk application.
given in my original message turned out to be a red herring. But it
for gtk applications py2exe does not do to well in tracking dependencies
(still a great tool!).
The procedure I followed was
(1) Include explicitly pango,atk,gobject.
(found on http://www.daa.com.au/pipermail/pygtk/2004-August/008329.html,
it is very unclear to me why this is necessary)
(2) Copy lib and etc directories from gtk distribution to dist directory.
(3) Delete locale directory (it is huge).
(4) Delete libglade (I am not using it).
.... try to delete more random things ...
(5) Rename bin directory of gtk distribution to something else and start
Windows tells you about missing dll's. Copy those to dist directory. In
libpng12.dll and zlib1.dll.
(6) Pack everything with Inno.
If somebody has a better method for making standalone pygtk applications
then please tell me!
Michel Van den Bergh wrote:
> I have used py2exe before to package tkinter applications and had zero
> problems with it.
> So I tend to think of it as something that "just works".
> Unfortunately I now am trying to package a pygtk application and I get
> the following error
> The following modules appear to be missing
> ['Appkit', 'Foundation', 'gdk', 'ltihooks', 'objc']
> Can anybody tell me what this means? How should I debug this?
> (Oh yes, my application runs fine when executed directly, I don't use
> any special import hooks and such.)
> Best regards,
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> Py2exe-users mailing list