[Distutils] py to exe

Piet Kaldewaij pietenmariankaldewaij at planet.nl
Sat Aug 21 14:01:25 CEST 2004


I've a question that I dropped on forums without right answers. Perhaps you've any idea?

It''s about converting .py files to .exe files and this happened:

I choose an example named 'Boolean' to change in an exe.file


This is the text of my setupfile:


from distutils.core import setup

import py2exe




Trying to compile I see this in DOS:



C:\>C:\PYTHON23\python setup.py py2exe

  File "setup.py", line 1

    Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win



SyntaxError: invalid syntax


Have you any idea the compiler doesn't work?

Greetings, Piet Kaldewaij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20040821/b920b93f/attachment.htm

More information about the Distutils-SIG mailing list