[Pyobjc-dev] Building pyObjc project
Brought to you by:
ronaldoussoren
|
From: Ian B. <ian...@ya...> - 2008-02-10 22:55:10
|
My apologies if this is the wrong list for this type
of question.
I'm having difficulties building my first pyObjc
program in XCode. I think it may be related to
versioning,
I have python2.4
I installed pyobjc-1.3.7-py2.4-macosx10.3
I'm running Tiger 10.4.11
I get this syntax error.
/usr/bin/env
/Users/ian_m_bloom/Documents/RedTrip/setup.py py2app
--alias
running py2app
Traceback (most recent call last):
File
"/Users/ian_m_bloom/Documents/RedTrip/setup.py", line
59, in ?
setup(**setup_options)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/core.py",
line 149, in setup
dist.run_commands()
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/dist.py",
line 946, in run_commands
self.run_command(cmd)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py",
line 342, in run
self.initialize_plist()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py",
line 415, in initialize_plist
plist = self.get_default_plist()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py",
line 294, in get_default_plist
version = find_version(target.script)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/util.py",
line 13, in find_version
ast = compiler.parseFile(fn)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/compiler/transformer.py",
line 48, in parseFile
return parse(src)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/compiler/transformer.py",
line 52, in parse
return Transformer().parsesuite(buf)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/compiler/transformer.py",
line 129, in parsesuite
return self.transform(parser.suite(text))
File "<string>", line 628
else:
^
SyntaxError: invalid syntax
Trying to figure it out, thinking I need to recompile
some .pyc
But I'm really a newb, I don't even know where to find
File "<string>"
or how it could have a syntax error.
Many thanks,
Ian Bloom
Ian Bloom
Director of Photography
New York, NY
Office: 646.257.2462
Cell: 336.986.0663
ia...@ia...
http://www.ianbloom.com
http://www.redhax.net
|