""" Script for building the example. Usage: python setup.py py2app To use this copy dist/PySnomDial.plugin to the plugin directory: $ mv dist/PySnomDial.plugin \ ~/Library/Address\ Book\ Plug-Ins/PyAddressLabel.plugin """ from distutils.core import setup import py2app infoPlist = dict( CFBundleName='PySnomDial', CFBundleGetInfoString='Snom PopUp for AddressBook', CFBundleVersion='0.1', CFBundleShortVersionString = '0.1', NSPrincipalClass='PyAddressLabelDelegate', ) setup( name='PySnomDial', plugin=['plugin.py'], data_files=[], options=dict(py2app=dict( extension=".bundle", plist=infoPlist, )), )