Re: [Pyobjc-dev] Three issues with PyObjC under Snow Leopard
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-10-06 15:47:01
|
On 6 Oct, 2009, at 17:42, David Eppstein wrote: > > """ > Script for building LaTeX Unicodifier > D. Eppstein, October 2009 > > Usage: > python setup.py py2app > """ > > from distutils.core import setup > import py2app > > plist = { > 'CFBundleDevelopmentRegion': 'English', > 'CFBundleExecutable': 'LaTeX Unicodifier', > 'CFBundleIconFile': 'LaTeX Unicodifier.icns', > } > > setup( > app = ['Latex.py', 'LaTeX_Unicodifier.py'], Use: app = ['main.py'], > data_files = ['English.lproj', 'LaTeX Unicodifier.icns'], > options = { 'py2app': {'plist': plist} } > ) The interface design for py2app was copied from py2exe, which is why you can list several applications in the 'app' argument. Having more than one application in setup.py is not implemented, and is luckily also not what you need. Ronald |