py2exe problem

Cristian Echeverria cer at tutopia.com
Sat Jul 21 07:42:42 CEST 2001


Ok
"Jay Parlar" <jparlar at home.com> wrote:

> #install.py
> from distutils.core import setup
> import py2exe
> setup(name="webpass", scripts=["window1.py"], )

If your application uses any file apart from the *.py ones you need to use
the data_files parameter. something like this:

setup(name="webpass", scripts=["window1.py"], data_files=["file1","file2"])


> python install.py py2exe -w

You can try compiling without the "-w" option and running the program from
the command line on the test machine.
Did you try this?

What about msvcirt.dll and msvcrt.dll in your development machine and your
test machine? If I remember wxPython update this dlls when this is
installed.

Remember that py2exe is intended to use with an installer like Inno Setup,
if you move only your exe there is good chance that this can't run.







More information about the Python-list mailing list