1''' 2Wrappers for the framework "InterfaceBuilderKit" on MacOSX. This framework 3is only available when you've installed Xcode 3.0 or later. 4 5The Interface Builder Kit is a framework containing the classes you use to 6implement custom plug-ins for Interface Builder. A plug-in injects one or 7more custom objects into Interface Builder's library window. From the library 8window, users can access your custom objects and drag them into their nib 9files just as they would the standard system controls. You can also use this 10framework to implement inspectors for manipulating your objects at runtime. 11 12These wrappers don't include documentation, please check Apple's documention 13for information on how to use this framework and PyObjC's documentation 14for general tips and tricks regarding the translation between Python 15and (Objective-)C frameworks 16 17NOTE: To run the unittests for this framework use:: 18 19 $ env DYLD_FRAMEWORK_PATH="$(xcode-select -print-path)/Library/PrivateFrameworks/" python setup.py test 20 21This is needed because the InterfaceBuilderKit framework won't load otherwise. 22''' 23import ez_setup 24ez_setup.use_setuptools() 25 26from setuptools import setup 27try: 28 from PyObjCMetaData.commands import extra_cmdclass, extra_options 29except ImportError: 30 extra_cmdclass = {} 31 extra_options = lambda name: {} 32 33setup( 34 name='pyobjc-framework-InterfaceBuilderKit', 35 version='2.2b3', 36 description = "Wrappers for the framework InterfaceBuilderKit on Mac OS X", 37 long_description = __doc__, 38 author='Ronald Oussoren', 39 author_email='pyobjc-dev@lists.sourceforge.net', 40 url='http://pyobjc.sourceforge.net', 41 platforms = [ "MacOS X" ], 42 packages = [ "InterfaceBuilderKit" ], 43 package_dir = { '': 'Lib' }, 44 install_requires = [ 45 'pyobjc-core>=2.2b3', 46 'pyobjc-framework-Cocoa>=2.2b3', 47 ], 48 package_data = { 49 '': ['*.bridgesupport'] 50 }, 51 test_suite='PyObjCTest', 52 cmdclass = extra_cmdclass, 53 options = extra_options('InterfaceBuilderKit'), 54 zip_safe = True, 55) 56