[Pythonmac-SIG] Buildapplication

Just van Rossum just@letterror.com
Thu, 9 Jan 2003 11:19:39 +0100


Joancarles Casas=EDn wrote:

> I'm having a "syntax error" when trying to build an application using
> "BuildApplication" (!=20
> :)
> while the same script builds an applet without any problem. I'm also
> building application from another simple old script w/o problems...
> I'm using Python 2.2.2 under OSX.2.2

Check whether the file causing the syntaxerror ends with a newline. I
suppose BuildApplication should add a newline when compiling sources.
Let me know if it helps.

Just