1''' 2Wrappers for the "DictionaryServices" framework on MacOSX 10.5 or later. 3 4Dictionary Services lets you create your own custom dictionaries that users 5can access through the Dictionary application. You also use these services to 6access dictionaries programatically and to support user access to dictionary 7look-up through a contextual menu. 8 9These wrappers don't include documentation, please check Apple's documention 10for information on how to use this framework and PyObjC's documentation 11for general tips and tricks regarding the translation between Python 12and (Objective-)C frameworks 13''' 14import ez_setup 15ez_setup.use_setuptools() 16 17from setuptools import setup 18try: 19 from PyObjCMetaData.commands import extra_cmdclass, extra_options 20except ImportError: 21 extra_cmdclass = {} 22 extra_options = lambda name: {} 23 24setup( 25 name='pyobjc-framework-DictionaryServices', 26 version='2.2b3', 27 description = "Wrappers for the framework DictionaryServices on Mac OS X", 28 long_description = __doc__, 29 author='Ronald Oussoren', 30 author_email='pyobjc-dev@lists.sourceforge.net', 31 url='http://pyobjc.sourceforge.net', 32 platforms = [ "MacOS X" ], 33 packages = [ "DictionaryServices" ], 34 package_dir = { '': 'Lib' }, 35 install_requires = [ 36 'pyobjc-core>=2.2b3', 37 'pyobjc-framework-Cocoa>=2.2b3', 38 ], 39 package_data = { 40 '': ['*.bridgesupport'] 41 }, 42 test_suite='PyObjCTest', 43 cmdclass = extra_cmdclass, 44 options = extra_options('DictionaryServices'), 45 zip_safe = True, 46) 47