1

I am trying to bundle my app with TideSDK following the instructions here. My command is:

python tibuild.py --dest=hi --type=bundle --package=hi2 c:\users\name\desktop\test

It is giving me this error:

File "tibuild.py", line 39
  print "signal caught: %d" % signum
                          ^
SyntaxError: invalid syntax

Line 39 in tibuild.py says this:

print "signal caught: %d" % signum

I am using Python 3.2.3 with TideSDK 1.2.0 RC4 on Windows 7 64-bit. Any ideas?

Community
  • 1
  • 1
preahkumpii
  • 1,301
  • 4
  • 21
  • 36

2 Answers2

3

You should have python 2.7 on your system and recommend you stay there for the time being. Scons is the build system we use for TideSDK. It may eventually be ported to python 3.x. since it is a very popular cross platform build system used by many large projects.

fairwinds
  • 2,133
  • 12
  • 21
1

In python 3, print is a function. Use print("signal caught: %d" % signum)

Senthil Kumaran
  • 54,681
  • 14
  • 94
  • 131