Source

pyobjc / pyobjc-framework-WebKit / setup.py

Ronald Oussoren 5bc325e 
Ronald Oussoren 9746aba 








Ronald Oussoren 95993d2 

Ronald Oussoren 9746aba 


Ronald Oussoren 91d1870 
Ronald Oussoren 9746aba 

Ronald Oussoren 9768fb1 
Ronald Oussoren 91d1870 
Ronald Oussoren 9768fb1 
Ronald Oussoren 5bc325e 
Ronald Oussoren 91d1870 

Ronald Oussoren 9746aba 
Ronald Oussoren 95993d2 










Ronald Oussoren 9746aba 
'''
Wrappers for the "WebKit" and "JavaScriptCore" frameworks on MacOSX. The
WebKit framework contains the views and support classes for creating a
browser. The JavaScriptCore framework implements a JavaScript interpreter.

These wrappers don't include documentation, please check Apple's documention
for information on how to use these frameworks and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''
from pyobjc_setup import setup, Extension
import os

setup(
    name='pyobjc-framework-WebKit',
    version="2.6b1",
    description = "Wrappers for the framework WebKit on Mac OS X",
    packages = [ "WebKit", "JavaScriptCore" ],
    setup_requires = [
        'pyobjc-core>=2.6b1',
    ],
    install_requires = [
        'pyobjc-core>=2.6b1',
        'pyobjc-framework-Cocoa>=2.6b1',
    ],
    ext_modules = [
        Extension("WebKit._WebKit",
            [ "Modules/_WebKit.m" ],
            extra_link_args=["-framework", "WebKit"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_WebKit')
            ]
        ),
    ]
)