1""" 2Script for building the example. 3 4Usage: 5 python setup.py py2app 6""" 7from distutils.core import setup 8import py2app 9 10infoPlist = dict( 11 CFBundleName='Shell Environment', 12 #CFBundleIconFile='ShellEnv.icns', 13 CFBundleGetInfoString='Shell Environment Panel', 14 CFBundleVersion='0.1', 15 CFBundleShortVersionString = '0.1', 16 NSPrefPaneIconLabel='Shell Environment', 17 NSPrefPaneIconFile='ShellEnv.icns', 18 NSPrincipalClass='EnvironmentPane', 19 NSMainNibFile='EnvironmentPane', 20) 21 22setup( 23 name="Shell Environment", 24 plugin=['ShellEnv.py'], 25 data_files=["English.lproj", "Dutch.lproj", "ShellEnv.icns"], 26 options=dict(py2app=dict( 27 extension=".prefPane", 28 plist=infoPlist, 29 )), 30) 31