1'''
2PyObjC wrappers for the framework "CFNetwork", part of "CoreServices" on
3MacOSX.
4
5The CFNetwork framework provides a library of abstractions for networking
6protocols. The most interesting bits for Python programmers are the
7API's for working with proxy autoconfiguration and the API's for networking
8diagnotics.
9
10These wrappers don't include documentation, please check Apple's documention
11for information on how to use this framework and PyObjC's documentation
12for general tips and tricks regarding the translation between Python
13and (Objective-)C frameworks
14'''
15from pyobjc_setup import setup, Extension
16
17setup(
18    name='pyobjc-framework-CFNetwork',
19    version="2.5.1",
20    description = "Wrappers for the framework CFNetwork on Mac OS X",
21    packages = [ "CFNetwork" ],
22    setup_requires = [
23        'pyobjc-core>=2.5.1',
24    ],
25    install_requires = [
26        'pyobjc-core>=2.5.1',
27        'pyobjc-framework-Cocoa>=2.5.1',
28    ],
29    ext_modules = [
30        Extension("CFNetwork._manual",
31            ["Modules/_manual.m"],
32            extra_link_args=['-framework', 'CoreServices'],
33        ),
34    ],
35)
36