1''' 2Wrappers for framework 'CoreLocation' on MacOSX 10.6. This framework provides 3an interface for dealing with the physical location of a machine, which allows 4for geo-aware applications. 5 6These wrappers don't include documentation, please check Apple's documention 7for information on how to use this framework and PyObjC's documentation 8for general tips and tricks regarding the translation between Python 9and (Objective-)C frameworks 10''' 11from pyobjc_setup import setup, Extension 12import os 13 14setup( 15 min_os_level='10.6', 16 name='pyobjc-framework-CoreLocation', 17 version="2.5.1", 18 description = "Wrappers for the framework CoreLocation on Mac OS X", 19 packages = [ "CoreLocation" ], 20 setup_requires = [ 21 'pyobjc-core>=2.5.1', 22 ], 23 install_requires = [ 24 'pyobjc-core>=2.5.1', 25 'pyobjc-framework-Cocoa>=2.5.1', 26 ], 27 ext_modules = [ 28 Extension("CoreLocation._CoreLocation", 29 [ "Modules/_CoreLocation.m" ], 30 extra_link_args=["-framework", "CoreLocation"], 31 depends=[ 32 os.path.join('Modules', fn) 33 for fn in os.listdir('Modules') 34 if fn.startswith('_CoreLocation') 35 ] 36 ), 37 ] 38) 39