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


--- [EMAIL PROTECTED] 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 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to