Freezing an app using win32com and wxPython

calishar at my-deja.com calishar at my-deja.com
Thu Feb 3 20:27:06 CET 2000


Hi Folks,

  I am having problems trying to freeze an app I have written. I am not
using installer because of the problems with com which I am nowhere
near able to solve in the short time I have at the moment.

  My App is using win32com.client and wxPython, I do not have sources
downloaded for either extension, and my program fits into one file.

  My command line at the moment is (all on one line)
python freeze.py -pd:\pysrc\python-1.5.2 -od:\sifexsrc -swindows
c:\progra~1\python\sifex\sifex.py

  d:\pysrc is the Python 1.5.2 source files
  c:\progra~1\python\sifex\sifex.py is my source file which starts with
the lines "import win32com.client" and "from wxPython.wx import *".

  When I run freeze, it finishes saying there unresolved module
references, which is fine because I plan to incluide the appropriate
dll files and reg entries.

Freeze reports:
freezing wxPython.wx ...
generating table of frozen modules
No definition of module pythoncom in any specified map file.
No definition of module pywintypes in any specified map file.
No definition of module win32api in any specified map file.
No definition of module win32ui in any specified map file.
No definition of module wxPython.wxc in any specified map file.
Warning: unknown modules remain: pythoncom pywintypes win32api win32ui
wxPython.wxc


  How close am I to getting this app succesfully frozen, and how can I
go the last mile? (I do not have a PYTHONEX env.variable, partly
because I'm not sure what it is for or what to set it to)

  Any help on this would be greatly appreciated,

Calishar


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list