[wxPython-users] wxPython - freeze.py issues with wxWidgets

Rakesh Sinha rakesh.usenet at gmail.com
Sat Mar 1 14:34:10 PST 2008


Thanks.

I used cx_Freeze .

The list of errors that I got are -

Missing modules:
? Carbon.File imported from macpath
? Carbon.Folder imported from tempfile
? Carbon.Folders imported from tempfile
? EasyDialogs imported from getpass
? SOCKS imported from ftplib
? _emx_link imported from os
? _winreg imported from urllib
? _xmlplus imported from xml
? cElementTree imported from atom, atom.service, gdata, gdata.service
? ce imported from os
? elementtree imported from atom, atom.service, gdata, gdata.service,
gdataapi, gui
? email.Generator imported from email.message
? email.Iterators imported from email.message
? email.Utils imported from urllib
? ic imported from urllib
? mac imported from os
? msvcrt imported from getpass
? nt imported from ntpath, os
? org.python.core imported from copy
? os.path imported from os
? os2 imported from os
? riscos imported from os
? riscosenviron imported from os
? riscospath imported from os
? rourl2path imported from urllib

After building the binaries using cx_Freeze (3.0.3 ) I got the above
mentioned messages.
I was curious as to what other options need to be specified to get rid
of the same.

System Configuration: Python 2.5
wxWidgets 2.8 - Mandriva 2008.

Thanks for the help.

On Tue, Feb 26, 2008 at 1:07 PM, Robin Dunn <robin at alldunn.com> wrote:
> Rakesh Sinha wrote:
>  > Hi -
>  >    I wrote my first wxWidgets program and I was using the freeze.py
>  > script to generate the native executable.
>  >
>  > This is the list of unknown modules that got reported after using
>  >
>  > $ python freeze.py wxWidgetsCode.py
>  >
>  > generating table of frozen modules
>  > Warning: unknown modules remain: _bisect _heapq _locale _random
>  > _socket _ssl _struct _tkinter array binascii cStringIO collections
>  > fcntl itertools math operator pyexpat readline select strop termios
>  > time wx._controls_ wx._core_ wx._gdi_ wx._misc_ wx._windows_
>  > Now run "make" to build the target: main
>  >
>  > Can somebody let me know how I should address the dependency related
>  > to wxWidgets libraries as mentioned here,
>
>  It's been many many years since I tried to use freeze.py, so I don't
>  remember if it is able to deal with binary extension modules at all.  It
>  may be as simple as copying those modules to the location where your
>  executable resides.  Are you on a platform that will allow you to use
>  one of the newer tools, such as py2exe, py2app, Installer or cx_Freeze?
>
>
>  --
>  Robin Dunn
>  Software Craftsman
>  http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
>  For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>




More information about the wxpython-users mailing list