""" Script for building the example. Usage: python setup.py py2app """ from distutils.core import setup import py2app infoPlist = dict( CFBundleName='Shell Environment', #CFBundleIconFile='ShellEnv.icns', CFBundleGetInfoString='Shell Environment Panel', CFBundleVersion='0.1', CFBundleShortVersionString = '0.1', NSPrefPaneIconLabel='Shell Environment', NSPrefPaneIconFile='ShellEnv.icns', NSPrincipalClass='EnvironmentPane', NSMainNibFile='EnvironmentPane', ) setup( name="Shell Environment", plugin=['ShellEnv.py'], data_files=["English.lproj", "Dutch.lproj", "ShellEnv.icns"], options=dict(py2app=dict( extension=".prefPane", plist=infoPlist, )), )