py2exe

Mike Driscoll kyosohma at gmail.com
Thu Oct 30 10:28:21 EDT 2008


On Oct 30, 7:19 am, Gandalf <goldn... at gmail.com> wrote:
> I'm new to py2exe.
>
> i'm using python 2.5 on XP
> and py2exe 0.6.6
>
> does someone know what may be wrong with this script:
>
> from distutils.core import setup
>
> import py2exe
>
> setup(console=['babylon.py'],
>
> options = {
>
> "py2exe": {
>
> "packages": ["pyHook", "encodings", "pywinauto",
>
> "pywinauto.controls", "pywinauto.tests", "urllib2", "pyTTS"],
>
> "excludes" : ["sendkeys"],
>
> }
> }
>
> )
>
> if you need more information please tell me...
>
> thank you

You need to post the error or at least what the issue is as well. And
why are you importing wx and then creating a console (i.e. command-
line interface) program?

I prefer to use GUI2Exe for creating executables: http://code.google.com/p/gui2exe/

Mike



More information about the Python-list mailing list