need help converting .py to an exe for windows
Lee Morgan
python at lee-morgan.net
Mon Jul 30 11:44:56 EDT 2001
"Derek S, Smigelski" <dereks at mip.com> writes:
> I have tried both py2exe and installer. I currently have py2exe installed
> now. Here's the scoop. I have python 2.1 installed to c:\python21, and
...
> C:\Python21\DSSCRI~1>
>
> The setup.py file looks like this:
>
> # setup.py
> from distutils.core import setup
> import py2exe
>
> setup(name="txlotto",
> scripts=["txlotto.py"],
> )
>
||||||||||^ this indentation shouldnt be there if it is
Otherwise I cant see anything wrong. Although doesn't py21 come with
py2exe as part of the dist utils - and if so have you overwritten
with an old package?
> C:\Python21\DSSCRI~1>
>
>
> Any Ideas?
>
> Thanks,
> Derek Smigelski
> DerekS at mip.com
>
>
--
Lee Morgan
More information about the Python-list
mailing list