py2exe: no exe produced?
Titi Anggono
tiang_ono at yahoo.com
Sun Aug 14 20:48:14 EDT 2005
I never use python2.4, I use python 2.3 and here is
(maybe it works). For example, the hello.py is under
directory
C:\Python23\latihan\
and put the setup.py under that directory
------------------------------------------
#setup.py
from distutils.core import setup
import py2exe
setup(console=["hello.py"])
-------------------------------------------
C:\Python23\latihan>python setup.py py2exe
--- guoxiaotian at gmail.com wrote:
> I tried py2exe the latest version with python 2.4 on
> windows.
>
> the setup script looks like this:
> ___________________________________________
>
> # setup.py
> from distutils.core import setup
> import py2exe
>
> setup(name="Hello",
> scripts=["f:\python\hello.py"],)
>
> ____________________________________________
>
> when I run the script, the output looks like
>
> F:\Python>python setup.py py2exe
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Python-list
mailing list