""" Script for building the example. Usage: python setup.py py2app """ from distutils.core import setup import py2app plist = dict( NSAppleScriptEnabled=True, LSBackgroundOnly = 1, CFBundleURLTypes=[ dict( CFBundleURLName='Uggc URL', CFBundleURLSchemes=['uggc'], ) ] ) setup( app=["UggcBouncer.py"], options=dict(py2app=dict(plist=plist)), )