[pythoncalgary] Re: Deploying py2exe built binaries

1 view
Skip to first unread message

Carl

unread,
Apr 21, 2010, 12:35:46 PM4/21/10
to calgary python user group

I came across Simon's email from Sept 2009. I had the same problem.
Here is the solution:

http://www.py2exe.org/index.cgi/Tutorial#Step52

The important part is having the manifest and directory verbatim.

Carl

Simon's email:

Hi all,
I've been working on a pyGTK app and porting it to Win32. I have it
running OK on my machine and want to produce binaries with the minimum
install dependancies.

Using py2exe I have produced a zip file who's contents can be dumped
into
a directory on target machine, but have hit a strange hurdle.

The app will not run ("The system cannot execute the specified
program.").

If I install Python on the target machine it runs OK, remove Python
and it
fails, which kind of defeats the purpose of py2exe.

I note that the app (when running) uses the following resources, which
appear to be installed by python.
C:\WINDOWS\WinSxS
\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-
ww_d08d0375\msvcr90.dll

There is no other 'msvcr90.dll' on this mininal install machine, and
the
app still does not work if I copy this file to the zip file's
directory.

Any suggestions as to what I'm doing wrong, or am I'm 'barking up the
wrong tree'??

--
You received this message because you are subscribed to the Google Groups "calgary python user group" group.
To post to this group, send email to python...@googlegroups.com.
To unsubscribe from this group, send email to pythoncalgar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pythoncalgary?hl=en.

Reply all
Reply to author
Forward
0 new messages