1''' 2Wrappers for the "LaunchServices" framework on MacOSX. The API's in this 3framework enable applications to open other applictions or their document 4files, simularly to how the Dock or Finder do that. 5 6A number of tasks that can be implemented using this framework: 7 8 * Launch or activate applications 9 10 * Open documents in other applications 11 12 * Identify the preferred application for opening a document 13 14 * Register information about the kinds of documents an application 15 can open (UTI's) 16 17 * Obtain information for showing a document (display name, icon, ...) 18 19 * Maintain and update the contents of the Recent Items menu. 20 21These wrappers don't include documentation, please check Apple's documention 22for information on how to use this framework and PyObjC's documentation 23for general tips and tricks regarding the translation between Python 24and (Objective-)C frameworks 25''' 26import ez_setup 27ez_setup.use_setuptools() 28 29from setuptools import setup 30try: 31 from PyObjCMetaData.commands import extra_cmdclass, extra_options 32except ImportError: 33 extra_cmdclass = {} 34 extra_options = lambda name: {} 35 36setup( 37 name='pyobjc-framework-LaunchServices', 38 version='2.2b3', 39 description = "Wrappers for the framework LaunchServices on Mac OS X", 40 long_description = __doc__, 41 author='Ronald Oussoren', 42 author_email='pyobjc-dev@lists.sourceforge.net', 43 url='http://pyobjc.sourceforge.net', 44 platforms = [ "MacOS X" ], 45 packages = [ "LaunchServices" ], 46 package_dir = { '': 'Lib' }, 47 install_requires = [ 48 'pyobjc-core>=2.2b3', 49 'pyobjc-framework-Cocoa>=2.2b3', 50 ], 51 package_data = { 52 '': ['*.bridgesupport'] 53 }, 54 test_suite='PyObjCTest', 55 cmdclass = extra_cmdclass, 56 options = extra_options('LaunchServices'), 57 zip_safe = True, 58) 59