py2exe problem - need wsvc6?

Elder tim at axtelle.com
Thu Feb 19 22:20:55 EST 2004


It just opens a window which immediately closes.

Thanks for your help.


"Aaron" <aaron at metrony.com> wrote in message
news:40357A5B.5090701 at metrony.com...
> You do not need a C compiler to make a standalone application.
> In version 0.5 the setup.py files changed a bit.
>
> First of all can you run your python script on the commandline?
>
> I have a hello world app as follows:
>
> #pTest.py
> print "Hello World"
>
> #setup.py
> from distutils.core import setup
> import py2exe
> setup(name='Test',
>        description="a Test",
>        version='0.1.0',
>        console=['pTest.py'])
>
>
> #build.bat
> e:\Python23\python.exe setup.py py2exe
>
> Try to build this app and see if your py2exe is setup correctly.
>
> -Aaron
> http://metrony.com
>
> Tim Axtelle wrote:
>
> > I am new to Python and am trying to create a standalone exe from a
> > python script using py2exe 0.5.0 and Python 2.3 without success.  I am
> > able to generate the appropriate .exe file but it is not executable.
> > Running it does absolutely nothing.
> >
> > The sourceforge site says that wsvc6 is required for py2exe.  Is this
> > true?  If so, it is contradiction with the python faq which claims
> > that no C compiler is necessary with py2exe.
> >
> > I also tried Gordon Mcmillan's installer which I found completely
> > incomprehensible despite the prodigous "easy to use" claims.
> >
> > Please help this obviously flustered newbie.  Thanks in advance.





More information about the Python-list mailing list