Py2exe help for beginner

Premshree Pillai premshree_python at yahoo.co.in
Thu Nov 11 15:24:35 EST 2004


 --- Martin Franklin
<mfranklin1 at gatwick.westerngeco.slb.com> wrote: 
> On 8 Nov 2004 04:08:30 -0800, PeterFI
> <peximies at suomi24.fi> wrote:
> 
> > Howdy folks,
> >
> > I´m taking my first steps in a world of python and
> I start from the
> > end:)
> >
> > I have this little application written in python
> and I need to convert
> > it to Finnish. Modifications to the source code
> are ready and now I
> > need to compile it to exe. It is only one py file,
> Iterator.py.
> >
> > my setup.py looks like this
> >
> > from distutils.core import setup
> > import glob,os,sys
> > import py2exe
> >
> >
> > setup(name='MyIterator',
> >       version='0.2',
> >       author='P.P',
> >       py_modules=["Iterator"])
> >

Tried this?

from distutils.core import setup
import py2exe
setup(name = "package_name",
     scripts = ["path/to/script.py"],
)

--Premshree


> > it runs nicely but no exe is created? What am I
> missing?
> 
> 
> What does the output of the 'python setup.py py2exe'
> command look like
> exactly?
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
>  

=====
-Premshree
[http://www.qiksearch.com/]

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony



More information about the Python-list mailing list