469,275 Members | 1,852 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

distribute python script

i want to distribute my python script as an executable. I have tried
py2exe but it caused a problem in my script when I ran it. I know
about Gordon McMillans Installer (which is no longer hosted)..but i
tried that and when i run the .exe it generated, it just crashes (i.e.
Windows wants to send an error report). Pyco is gone as well.

anyone?

Jul 19 '05 #1
5 1321
py2exe works just fine, but you didn't give enough information for us
to help you. Thomas Heller (maintainer of py2exe) monitors this list.
So post some more information of what "...caused a problem in my
script..." means and we will all try to help.

Larry Bates

codecraig wrote:
i want to distribute my python script as an executable. I have tried
py2exe but it caused a problem in my script when I ran it. I know
about Gordon McMillans Installer (which is no longer hosted)..but i
tried that and when i run the .exe it generated, it just crashes (i.e.
Windows wants to send an error report). Pyco is gone as well.

anyone?

Jul 19 '05 #2
sure....i posted another thread eariler, which explains much more
related to py2exe..check that out and let me know if that helps.

http://groups-beta.google.com/group/...71921987be308d

Jul 19 '05 #3
"codecraig" <co*******@gmail.com> writes:
sure....i posted another thread eariler, which explains much more
related to py2exe..check that out and let me know if that helps.

http://groups-beta.google.com/group/...71921987be308d


I'm monitoring this group, but I hope you understand the I cannot spend
too much time to debug each problem reported.

A very common problem with py2exe has to do with encodings (google for
"EncodingsAgain", and you will find a wiki page explaining this), but
this is pure speculation.

Thomas
Jul 19 '05 #4
Thanks so much Thomas!!! I added encodings to my setup's...here it is

setup(console=[{"script": 'monkey_shell.py'}], options={"py2exe":
{"packages": ["encodings"]}})

and i did the same for the other python script.

Thanks!!

Jul 19 '05 #5
"codecraig" <co*******@gmail.com> writes:
Thanks so much Thomas!!! I added encodings to my setup's...here it is

setup(console=[{"script": 'monkey_shell.py'}], options={"py2exe":
{"packages": ["encodings"]}})

and i did the same for the other python script.

Thanks!!


Cool. The next py2exe version will include the encodings automatically,
unless this is overridden with the '-a' or '--ascii' command line
option.

Thomas
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

28 posts views Thread by Erik Johnson | last post: by
2 posts views Thread by DeepBleu | last post: by
1 post views Thread by Robert | last post: by
4 posts views Thread by Ed Landau | last post: by
12 posts views Thread by Tolga | last post: by
6 posts views Thread by tatamata | last post: by
1 post views Thread by akbar | last post: by
11 posts views Thread by jackbenimble999 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.