示例#1
0
from pyobjc_setup import setup, Extension
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-AddressBook',
    version=VERSION,
    description = "Wrappers for the framework AddressBook on Mac OS X",
    long_description=__doc__,
    packages = [ "AddressBook" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    ext_modules = [
        Extension("AddressBook._AddressBook",
            [ "Modules/_AddressBook.m" ],
            extra_link_args=["-framework", "AddressBook"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_AddressBook')
            ]
        ),
    ],
)
示例#2
0
'''
Wrappers for framework 'AppleScriptObjC' on MacOSX 10.6. This framework is
not useful for most users, it provides additional functionality for AppleScript
based application bundles.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

from pyobjc_setup import setup

VERSION = "3.2a1"

setup(
    min_os_level='10.6',
    name='pyobjc-framework-AppleScriptObjC',
    version=VERSION,
    description="Wrappers for the framework AppleScriptObjC on Mac OS X",
    long_description=__doc__,
    packages=["AppleScriptObjC"],
    setup_requires=[
        'pyobjc-core>=' + VERSION,
    ],
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#3
0
diagnotics.

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

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-CFNetwork",
    description="Wrappers for the framework CFNetwork on macOS",
    packages=["CFNetwork"],
    ext_modules=[
        Extension(
            "CFNetwork._manual",
            ["Modules/_manual.m"],
            extra_link_args=["-framework", "CoreServices"],
            py_limited_api=True,
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options=dict(bdist_wheel=dict(py_limited_api="cp36")),
)
示例#4
0
文件: setup.py 项目: fish2000/pyobjc
VERSION="3.3a0"

setup(
    name='pyobjc-framework-AVFoundation',
    description = "Wrappers for the framework AVFoundation on Mac OS X",
    min_os_level="10.7",
    packages = [ "AVFoundation" ],
    ext_modules = [
        Extension('AVFoundation._inlines',
            [ 'Modules/_AVFoundation_inlines.m' ],
            extra_link_args=['-framework', 'AVFoundation']),
        Extension("AVFoundation._AVFoundation",
            [ "Modules/_AVFoundation.m" ],
            extra_link_args=["-framework", "AVFoundation"],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_AVFoundation')
            ]
        ),
    ],
    version=VERSION,
    install_requires = [
        'pyobjc-core>='+VERSION,
        'pyobjc-framework-Cocoa>='+VERSION,
        'pyobjc-framework-Quartz>='+VERSION,
    ],
    long_description=__doc__,
)
示例#5
0
These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework 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(min_os_level='10.5',
      name='pyobjc-framework-InputMethodKit',
      version="2.5.1",
      description="Wrappers for the framework InputMethodKit on Mac OS X",
      packages=["InputMethodKit"],
      setup_requires=[
          'pyobjc-core>=2.5.1',
      ],
      install_requires=[
          'pyobjc-core>=2.5.1',
          'pyobjc-framework-Cocoa>=2.5.1',
      ],
      ext_modules=[
          Extension("InputMethodKit._InputMethodKit",
                    ["Modules/_InputMethodKit.m"],
                    extra_link_args=["-framework", "InputMethodKit"],
                    depends=[
                        os.path.join('Modules', fn)
                        for fn in os.listdir('Modules')
                        if fn.startswith('_InputMethodKit')
                    ]),
      ])
示例#6
0
''' 
Wrappers for the "SyncServices" framework on MacOSX. 

Sync Services is a framework containing all the components you need 
to sync your applications and devices. If your application uses 
Sync Services, user data can be synced with other applications and 
devices on the same computer, or other computers over the network via 
MobileMe.

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

setup(
    name='pyobjc-framework-SyncServices',
    version="2.3.2a0",
    description="Wrappers for the framework SyncServices on Mac OS X",
    packages=["SyncServices"],
    install_requires=[
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
        'pyobjc-framework-CoreData>=2.3.2a0',
    ],
)
示例#7
0
setup(
    name='pyobjc-framework-Cocoa',
    version="2.5.1",
    description = "Wrappers for the Cocoa frameworks on Mac OS X",
    packages = [ "Cocoa", "CoreFoundation", "Foundation", "AppKit", "PyObjCTools" ],
    namespace_packages = ['PyObjCTools'],
    dependency_links = [
        'https://github.com/Khan/pyobjc-core/tarball/master',
    ],
    ext_modules = [
        # CoreFoundation
        Extension('CoreFoundation._inlines',
                [ 'Modules/_CoreFoundation_inlines.m' ],
                extra_link_args=['-framework', 'CoreFoundation']),
        Extension('CoreFoundation._CoreFoundation',
            [ 'Modules/_CoreFoundation.m' ],
            extra_link_args=['-framework', 'CoreFoundation'],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_CoreFoundation') ]),

        # Foundation
        Extension('Foundation._inlines',
                [ 'Modules/_Foundation_inlines.m' ],
                extra_link_args=['-framework', 'Foundation']),
        Extension('Foundation._Foundation',
            [ 'Modules/_Foundation.m' ],
            extra_link_args=['-framework', 'Foundation'],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_Foundation') ]),

        # AppKit
        Extension("AppKit._inlines",
            [ "Modules/_AppKit_inlines.m" ],
            extra_link_args=["-framework", "AppKit"]),
        Extension("AppKit._AppKit",
            [ "Modules/_AppKit.m" ],
            extra_link_args=["-framework", "AppKit"],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_AppKit') ]),


        #
        # Test support
        #
        Extension("PyObjCTest.testhelper",
            [ "Modules/testhelper.m"],
            extra_link_args=["-framework", "Foundation"]),
    ],
)
示例#8
0
文件: setup.py 项目: aosm/pyobjc
''' 
Wrappers for the "FSEvents" API in MacOS X. The functions in this framework
allow you to reliably observe changes to the filesystem, even when your
program is not running al the time.

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

setup(
    min_os_level='10.5',
    name='pyobjc-framework-FSEvents',
    version="2.3.2a0",
    description = "Wrappers for the framework FSEvents on Mac OS X",
    packages = [ "FSEvents" ],
    install_requires = [ 
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
    ext_modules = [
        Extension("FSEvents._callbacks",
            [ "Modules/_callbacks.m" ],
        ),
    ],
)
示例#9
0
""" 
Wrappers for the "InputMethodKit" framework on MacOSX 10.5 or later. The
interfaces in this framework allow you to develop input methods.

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

setup(
    min_os_level="10.5",
    name="pyobjc-framework-InputMethodKit",
    version="2.3.2a0",
    description="Wrappers for the framework InputMethodKit on Mac OS X",
    packages=["InputMethodKit"],
    install_requires=["pyobjc-core>=2.3.2a0", "pyobjc-framework-Cocoa>=2.3.2a0"],
)
示例#10
0
The Latent Semantic Mapping framework supports the classification of text and other token-based content into developer-defined categories.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks.

NOTE: Apple's documentation for this framework is very minimal at the moment,
making it very hard to actually use the framework.
'''
from pyobjc_setup import setup

VERSION="3.2a1"

setup(
    min_os_level='10.5',
    name='pyobjc-framework-LatentSemanticMapping',
    version=VERSION,
    description = "Wrappers for the framework LatentSemanticMapping on Mac OS X",
    long_description=__doc__,
    packages = [ "LatentSemanticMapping" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#11
0
auxilliary video source to iChat Theater.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks

Note that this framework is deprecated in OSX 10.9, use the Social framework
instead if you target that OSX release.
'''
from pyobjc_setup import setup

VERSION="3.2a1"

setup(
    min_os_level='10.5',
    name='pyobjc-framework-InstantMessage',
    version=VERSION,
    description = "Wrappers for the framework InstantMessage on Mac OS X",
    long_description=__doc__,
    packages = [ "InstantMessage" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
        'pyobjc-framework-Quartz>=' + VERSION,
    ],
)
示例#12
0
文件: setup.py 项目: aosm/pyobjc
and (Objective-)C frameworks
'''
from pyobjc_setup import setup, Extension
import os

setup(
    name='pyobjc-framework-SyncServices',
    version="2.5.1",
    description = "Wrappers for the framework SyncServices on Mac OS X",
    packages = [ "SyncServices" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
        'pyobjc-framework-CoreData>=2.5.1',
    ],
    ext_modules = [
        Extension("SyncServices._SyncServices",
            [ "Modules/_SyncServices.m" ],
            extra_link_args=["-framework", "SyncServices"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_SyncServices')
            ]
        ),
    ]
)
示例#13
0
'''
Wrappers for framework 'ServiceManagement' on MacOSX 10.6. This framework
provides an interface to the system services subsystem, which basicly means
a this provides a secure and object-oriented interface from launchd.

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

VERSION="3.2a1"

setup(
    min_os_level='10.6',
    name='pyobjc-framework-ServiceManagement',
    version=VERSION,
    description = "Wrappers for the framework ServiceManagement on Mac OS X",
    long_description=__doc__,
    packages = [ "ServiceManagement" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#14
0
'''
Wrappers for the 'OpenDirectory' and 'CFOpenDirectory' frameworks on
MacOSX 10.6 and later.

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

VERSION="3.2a1"

setup(
    min_os_level='10.6',
    name='pyobjc-framework-OpenDirectory',
    version=VERSION,
    description = "Wrappers for the framework OpenDirectory on Mac OS X",
    long_description=__doc__,
    packages = [ "OpenDirectory", "CFOpenDirectory" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#15
0
'''
Wrappers for framework 'ServerNotification' on MacOSX 10.6. This framework
contains the class NSServerNotificationCenter which provides distributed
notifications over the Extensible Messaging and Presence Protocol (XMPP).

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

setup(
    min_os_level='10.6',
    name='pyobjc-framework-ServerNotification',
    version="2.5.1",
    description="Wrappers for the framework ServerNotification on Mac OS X",
    packages=["ServerNotification"],
    setup_requires=[
        'pyobjc-core>=2.5.1',
    ],
    install_requires=[
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
)
示例#16
0
program is not running al the time.

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

setup(
    min_os_level='10.5',
    name='pyobjc-framework-FSEvents',
    version="2.5.1",
    description = "Wrappers for the framework FSEvents on Mac OS X",
    packages = [ "FSEvents" ],
    # setup_requires doesn't like git links, so we just have to
    # pip install these first:
    #setup_requires = [
    #    'https://github.com/Khan/pyobjc-core/tarball/master',
    #],
    dependency_links = [
        'https://github.com/Khan/pyobjc-core/tarball/master',
        'https://github.com/Khan/pyobjc-framework-Cocoa/tarball/master',
    ],
    ext_modules = [
        Extension("FSEvents._callbacks",
            [ "Modules/_callbacks.m" ],
        ),
    ],
)
示例#17
0
"""
Wrappers for the "FileProvider" framework on macOS.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import setup

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-FileProvider",
    description="Wrappers for the framework FileProvider on macOS",
    min_os_level="10.15",
    packages=["FileProvider"],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
)
示例#18
0
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-NotificationCenter',
    version=VERSION,
    description = "Wrappers for the framework NotificationCenter on Mac OS X",
    long_description=__doc__,
    packages = [ "NotificationCenter" ],
    ext_modules = [
        Extension("NotificationCenter._NotificationCenter",
            [ "Modules/_NotificationCenter.m" ],
            extra_link_args=["-framework", "NotificationCenter"],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_NotificationCenter')
            ]
        ),
    ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    min_os_level="10.10",
)
示例#19
0
'''
Wrappers for the "ApplicationServices" framework on MacOSX 10.5 or later. Core Text is an
advanced, low-level technology for laying out text and handling fonts. It is
designed for high performance and ease of use.

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

VERSION="3.3a0"

setup(
    name='pyobjc-framework-ApplicationServices',
    description = "Wrappers for the framework ApplicationServices on Mac OS X",
    packages = [ "ApplicationServices", "HIServices" ],
    version=VERSION,
    install_requires = [
        'pyobjc-core>='+VERSION,
        'pyobjc-framework-Cocoa>='+VERSION,
        'pyobjc-framework-Quartz>='+VERSION,
    ],
    long_description=__doc__,
)
示例#20
0
setup(
    name='pyobjc-framework-Quartz',
    version="2.5.1",
    description = "Wrappers for the Quartz frameworks on Mac OS X",
    packages = [ "Quartz" ] + subpackages,
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
    ext_modules = [
        # CoreVideo
        Extension('Quartz.CoreVideo._CVPixelBuffer',
            [ 'Modules/_CVPixelBuffer.m' ]),

        # CoreGraphics
        Extension('Quartz.CoreGraphics._inlines',
            [ 'Modules/_CoreGraphics_inlines.m' ]),
        Extension('Quartz.CoreGraphics._callbacks',
            [ 'Modules/_callbacks.m' ]),
        Extension('Quartz.CoreGraphics._doubleindirect',
            [ 'Modules/_doubleindirect.m' ]),
        Extension('Quartz.CoreGraphics._sortandmap',
            [ 'Modules/_sortandmap.m' ]),
        Extension('Quartz.CoreGraphics._coregraphics',
            [ 'Modules/_coregraphics.m' ], extra_link_args=["-framework", "ApplicationServices"]),
    ],
)
示例#21
0
 * Obtain information for showing a document (display name, icon, ...)

 * Maintain and update the contents of the Recent Items menu.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks

NOTE: This wrapper is not complete, this will change in a future version.
'''
from pyobjc_setup import setup

VERSION = "3.2a1"

setup(
    name='pyobjc-framework-LaunchServices',
    version=VERSION,
    description="Wrappers for the framework LaunchServices on Mac OS X",
    long_description=__doc__,
    packages=["LaunchServices"],
    setup_requires=[
        'pyobjc-core>=' + VERSION,
    ],
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#22
0
文件: setup.py 项目: aosm/pyobjc
'''
Wrappers for the "ExceptionHandling" framework on MacOSX. The ExceptionHandling
framework provides facilities for monitoring and debugging exceptional
conditions in Cocoa programs.

PyObjC also provides low-level debugging utilities beyond the core
ExceptionHandling framework in the module ``PyObjCTools.Debugging``.

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

setup(
    name='pyobjc-framework-ExceptionHandling',
    version="2.5.1",
    description = "Wrappers for the framework ExceptionHandling on Mac OS X",
    packages = [ "PyObjCTools", "ExceptionHandling" ],
    namespace_packages = [ "PyObjCTools" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
)
示例#23
0
文件: setup.py 项目: aosm/pyobjc
 * Register information about the kinds of documents an application
   can open (UTI's)

 * Obtain information for showing a document (display name, icon, ...)

 * Maintain and update the contents of the Recent Items menu.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks

NOTE: This wrapper is not complete, this will change in a future version.
'''
from pyobjc_setup import setup

setup(
    name='pyobjc-framework-LaunchServices',
    version="2.5.1",
    description = "Wrappers for the framework LaunchServices on Mac OS X",
    packages = [ "LaunchServices" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
)
示例#24
0
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-IMServicePlugIn',
    version=VERSION,
    description = "Wrappers for the framework IMServicePlugIn on Mac OS X",
    long_description=__doc__,
    packages = [ "IMServicePlugIn" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    ext_modules = [
        Extension("IMServicePlugIn._IMServicePlugIn",
            [ "Modules/_IMServicePlugIn.m" ],
            extra_link_args=["-framework", "GameKit"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_IMServicePlugIn')
            ]
        ),
    ],
    min_os_level='10.7',
)
示例#25
0
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-Intents",
    description="Wrappers for the framework Intents on macOS",
    min_os_level="10.12",
    packages=["Intents"],
    ext_modules=[
        Extension(
            "Intents._Intents",
            ["Modules/_Intents.m"],
            extra_link_args=["-framework", "Intents"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_Intents")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#26
0
文件: setup.py 项目: aosm/pyobjc
''' 
Wrappers for the 'OpenDirectory' and 'CFOpenDirectory' frameworks on 
MacOSX 10.6 and later.

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

setup(
    min_os_level='10.6',
    name='pyobjc-framework-OpenDirectory',
    version="2.3.2a0",
    description = "Wrappers for the framework OpenDirectory on Mac OS X",
    packages = [ "OpenDirectory", "CFOpenDirectory" ],
    install_requires = [ 
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
)
示例#27
0
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-MultipeerConnectivity',
    version=VERSION,
    description = "Wrappers for the framework MultipeerConnectivity on Mac OS X",
    long_description=__doc__,
    packages = [ "MultipeerConnectivity" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    ext_modules = [
        Extension("MultipeerConnectivity._MultipeerConnectivity",
            [ "Modules/_MultipeerConnectivity.m" ],
            extra_link_args=["-framework", "MultipeerConnectivity"],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_MultipeerConnectivity')
            ]
        ),
    ],
    min_os_level="10.10",
)
示例#28
0
文件: setup.py 项目: aosm/pyobjc
''' 
Wrappers for the "ScreenSaver" framework on MacOSX. This frameworks allows
you to write custom screensaver modules.

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

setup(
    name='pyobjc-framework-ScreenSaver',
    version="2.3.2a0",
    description = "Wrappers for the framework ScreenSaver on Mac OS X",
    packages = [ "ScreenSaver" ],
    install_requires = [ 
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
    ext_modules = [
        Extension('ScreenSaver._inlines',
            [ 'Modules/_ScreenSaver_inlines.m' ],
            extra_link_args=['-framework', 'ScreenSaver']),
    ],
)
示例#29
0
文件: setup.py 项目: rongilson/pyobjc
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-WebKit",
    description="Wrappers for the framework WebKit on macOS",
    packages=["WebKit", "JavaScriptCore"],
    ext_modules=[
        Extension(
            "WebKit._WebKit",
            ["Modules/_WebKit.m"],
            extra_link_args=["-framework", "WebKit"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_WebKit")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#30
0
'''
Wrappers for framework 'AppleScriptKit'.

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

VERSION="3.2a1"

setup(
    name='pyobjc-framework-AppleScriptKit',
    version=VERSION,
    description = "Wrappers for the framework AppleScriptKit on Mac OS X",
    long_description=__doc__,
    packages = [ "AppleScriptKit" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#31
0
These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework 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

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-Security",
    description="Wrappers for the framework Security on macOS",
    packages=["Security"],
    ext_modules=[
        Extension(
            "Security._Security",
            ["Modules/_Security.m"],
            extra_link_args=["-framework", "Security"],
            py_limited_api=True,
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options=dict(bdist_wheel=dict(py_limited_api="cp36")),
)
示例#32
0
文件: setup.py 项目: aosm/pyobjc
protocols. The most interesting bits for Python programmers are the
API's for working with proxy autoconfiguration and the API's for networking
diagnotics.

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

setup(
    name='pyobjc-framework-CFNetwork',
    version="2.5.1",
    description = "Wrappers for the framework CFNetwork on Mac OS X",
    packages = [ "CFNetwork" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
    ext_modules = [
        Extension("CFNetwork._manual",
            ["Modules/_manual.m"],
            extra_link_args=['-framework', 'CoreServices'],
        ),
    ],
)
示例#33
0
'''

from pyobjc_setup import setup, Extension
import os

VERSION="3.3a0"

setup(
    name='pyobjc-framework-MultipeerConnectivity',
    description = "Wrappers for the framework MultipeerConnectivity on Mac OS X",
    min_os_level="10.10",
    packages = [ "MultipeerConnectivity" ],
    ext_modules = [
        Extension("MultipeerConnectivity._MultipeerConnectivity",
            [ "Modules/_MultipeerConnectivity.m" ],
            extra_link_args=["-framework", "MultipeerConnectivity"],
            depends=[
                os.path.join('Modules', fn)
                for fn in os.listdir('Modules')
                if fn.startswith('_MultipeerConnectivity')
            ]
        ),
    ],
    version=VERSION,
    install_requires = [
        'pyobjc-core>='+VERSION,
        'pyobjc-framework-Cocoa>='+VERSION,
    ],
    long_description=__doc__,
)
示例#34
0
文件: setup.py 项目: aosm/pyobjc
'''
Wrappers for framework 'SystemConfiguration'.

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

setup(
    name='pyobjc-framework-SystemConfiguration',
    version="2.5.1",
    description = "Wrappers for the framework SystemConfiguration on Mac OS X",
    packages = [ "SystemConfiguration" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
    ],
    ext_modules = [
        Extension('SystemConfiguration._manual',
                 [ 'Modules/_manual.m' ],
        ),
    ],
)
示例#35
0
framework provides facilities for monitoring and debugging exceptional
conditions in Cocoa programs.

PyObjC also provides low-level debugging utilities beyond the core
ExceptionHandling framework in the module ``PyObjCTools.Debugging``.

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

VERSION="3.2a1"

setup(
    name='pyobjc-framework-ExceptionHandling',
    version=VERSION,
    description = "Wrappers for the framework ExceptionHandling on Mac OS X",
    long_description=__doc__,
    packages = [ "PyObjCTools", "ExceptionHandling" ],
    namespace_packages = [ "PyObjCTools" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
)
示例#36
0
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-PhotosUI',
    version=VERSION,
    description = "Wrappers for the framework PhotosUI on Mac OS X",
    long_description=__doc__,
    packages = [ "PhotosUI" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    min_os_level="10.11",
    ext_modules = [
        Extension("PhotosUI._PhotosUI",
            [ "Modules/_PhotosUI.m" ],
            extra_link_args=["-framework", "PhotosUI"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_PhotosUI')
            ]
        ),
    ],
)
示例#37
0
''' 
Wrappers for the "AddressBook" framework on MacOS X. The Address Book is
a centralized database for contact and other information for people. Appliations
that make use of the AddressBook framework all use the same database.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

from pyobjc_setup import setup

setup(
    name='pyobjc-framework-AddressBook',
    version="2.3.2a0",
    description="Wrappers for the framework AddressBook on Mac OS X",
    packages=["AddressBook"],
    install_requires=[
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
)
示例#38
0
文件: setup.py 项目: fish2000/pyobjc
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-Intents',
    description="Wrappers for the framework Intents on Mac OS X",
    min_os_level="10.12",
    packages=["Intents"],
    ext_modules=[
        Extension("Intents._Intents", ["Modules/_Intents.m"],
                  extra_link_args=["-framework", "Intents"],
                  depends=[
                      os.path.join('Modules', fn)
                      for fn in os.listdir('Modules')
                      if fn.startswith('_Intents')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#39
0
文件: setup.py 项目: fish2000/pyobjc
protocols. The most interesting bits for Python programmers are the
API's for working with proxy autoconfiguration and the API's for networking
diagnotics.

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

VERSION="3.3a0"

setup(
    name='pyobjc-framework-CFNetwork',
    description = "Wrappers for the framework CFNetwork on Mac OS X",
    packages = [ "CFNetwork" ],
    ext_modules = [
        Extension("CFNetwork._manual",
            ["Modules/_manual.m"],
            extra_link_args=['-framework', 'CoreServices'],
        ),
    ],
    version=VERSION,
    install_requires = [
        'pyobjc-core>='+VERSION,
        'pyobjc-framework-Cocoa>='+VERSION,
    ],
    long_description=__doc__,
)
示例#40
0
"""
Wrappers for the "IOSurface" framework on macOS.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import setup

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-IOSurface",
    description="Wrappers for the framework IOSurface on macOS",
    min_os_level="10.6",
    packages=["IOSurface"],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
)
示例#41
0
文件: setup.py 项目: sho7noka/Merops
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

VERSION = "5.0b1"

setup(
    name='pyobjc-framework-ModelIO',
    description="Wrappers for the framework ModelIO on macOS",
    min_os_level="10.11",
    packages=["ModelIO"],
    ext_modules=[
        Extension("ModelIO._ModelIO", ["Modules/_ModelIO.m", "../CoreModel.h"],
                  extra_link_args=["-framework", "ModelIO"],
                  depends=[
                      os.path.join('Modules', fn)
                      for fn in os.listdir('Modules')
                      if fn.startswith('_ModelIO')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
        'pyobjc-framework-Quartz>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#42
0
文件: setup.py 项目: fish2000/pyobjc
'''
Wrappers for framework 'AppleScriptKit'.

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

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-AppleScriptKit',
    description="Wrappers for the framework AppleScriptKit on Mac OS X",
    packages=["AppleScriptKit"],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#43
0
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import Extension, setup

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-Network",
    description="Wrappers for the framework Network on macOS",
    min_os_level="10.14",
    packages=["Network"],
    ext_modules=[
        Extension(
            "Network._Network",
            ["Modules/_Network.m"],
            extra_link_args=["-framework", "Network"],
            py_limited_api=True,
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#44
0
'''
Wrappers for the "Message" framework on MacOSX. This framework contains a
number of utilities for sending e-mail.

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

VERSION="3.2a1"

setup(
    name='pyobjc-framework-Message',
    version=VERSION,
    description = "Wrappers for the framework Message on Mac OS X",
    long_description=__doc__,
    packages = [ "Message" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    max_os_level="10.8",
)
示例#45
0
VERSION="3.2a1"

setup(
    name='pyobjc-framework-AVKit',
    version=VERSION,
    description = "Wrappers for the framework AVKit on Mac OS X",
    long_description=__doc__,
    packages = [ "AVKit" ],
    min_os_level="10.9",
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
        'pyobjc-framework-Quartz>=' + VERSION,
    ],
    ext_modules = [
        Extension("AVKit._AVKit",
            [ "Modules/_AVKit.m" ],
            extra_link_args=["-framework", "AVKit"],
            depends=[
                os.path.join('Modules', fn)
                    for fn in os.listdir('Modules')
                    if fn.startswith('_AVKit')
            ]
        ),
    ],
)
示例#46
0
"""
Wrappers for the "ColorSync" framework on MacOSX 10.13 or later.

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

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-ColorSync",
    description="Wrappers for the framework ColorSync on Mac OS X",
    min_os_level="10.13",
    packages=["ColorSync"],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
)
示例#47
0
''' 
Wrappers for the "PubSub" framework on MacOSX 10.5 or later.  This framework
offers developers a way to subscribe to web feeds (RSS, Atom) from their 
applications.

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

setup(
    min_os_level='10.5',
    name='pyobjc-framework-PubSub',
    version="2.3.2a0",
    description="Wrappers for the framework PubSub on Mac OS X",
    packages=["PubSub"],
    install_requires=[
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
)
示例#48
0
"""
Wrappers for the "AutomaticAssessmentConfiguration" framework on macOS.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-AutomaticAssessmentConfiguration",
    description=
    "Wrappers for the framework AutomaticAssessmentConfiguration on macOS",
    min_os_level="10.15",
    packages=["AutomaticAssessmentConfiguration"],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
)
示例#49
0
文件: setup.py 项目: aosm/pyobjc
''' 
Wrappers for the "AddressBook" framework on MacOS X. The Address Book is
a centralized database for contact and other information for people. Appliations
that make use of the AddressBook framework all use the same database.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

from pyobjc_setup import setup

setup(
    name='pyobjc-framework-AddressBook',
    version="2.3.2a0",
    description = "Wrappers for the framework AddressBook on Mac OS X",
    packages = [ "AddressBook" ],
    install_requires = [ 
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
)
示例#50
0
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

VERSION = "3.2a1"

setup(name='pyobjc-framework-WebKit',
      version=VERSION,
      description="Wrappers for the framework WebKit on Mac OS X",
      long_description=__doc__,
      packages=["WebKit", "JavaScriptCore"],
      setup_requires=[
          'pyobjc-core>=' + VERSION,
      ],
      install_requires=[
          'pyobjc-core>=' + VERSION,
          'pyobjc-framework-Cocoa>=' + VERSION,
      ],
      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')
                    ]),
      ])
示例#51
0
"""
Wrappers for the "UniformTypeIdentifiers" framework on macOS.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import setup

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-UniformTypeIdentifiers",
    description="Wrappers for the framework UniformTypeIdentifiers on macOS",
    min_os_level="10.16",
    packages=["UniformTypeIdentifiers"],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
)
示例#52
0
文件: setup.py 项目: aosm/pyobjc
''' 
Wrappers for the "SearchKit" framework on MacOSX. SearchKit is a content
indexing and search solution.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks

NOTE: These wrappers are pretty fragile, sadly enough not all run-time
information that needed to build reliable wrappers is exported from 
the framework.
'''
from pyobjc_setup import setup

setup(
    min_os_level='10.5',
    name='pyobjc-framework-SearchKit',
    version="2.3.2a0",
    description = "Wrappers for the framework SearchKit on Mac OS X",
    packages = [ "SearchKit" ],
    install_requires = [ 
        'pyobjc-core>=2.3.2a0',
        'pyobjc-framework-Cocoa>=2.3.2a0',
    ],
)
示例#53
0
文件: setup.py 项目: rongilson/pyobjc
"""
Wrappers for the "EventKit" framework on macOS.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-EventKit",
    description="Wrappers for the framework Accounts on macOS",
    min_os_level="10.8",
    packages=["EventKit"],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
)
示例#54
0
文件: setup.py 项目: aosm/pyobjc
'''
Wrappers for the "QTKit" framework on MacOSX.  QTKit is an modern,
object-oriented framework for working with QuickTime media in Cocoa
applications, and is a replacement for the older Carbon-based Quicktime
framework.

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

setup(
    name='pyobjc-framework-QTKit',
    version="2.5.1",
    description = "Wrappers for the framework QTKit on Mac OS X",
    packages = [ "QTKit" ],
    setup_requires = [
        'pyobjc-core>=2.5.1',
    ],
    install_requires = [
        'pyobjc-core>=2.5.1',
        'pyobjc-framework-Cocoa>=2.5.1',
        'pyobjc-framework-Quartz>=2.5.1',
    ],
)
示例#55
0
"""

from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-CryptoTokenKit",
    description="Wrappers for the framework CryptoTokenKit on macOS",
    min_os_level="10.10",
    packages=["CryptoTokenKit"],
    ext_modules=[
        Extension(
            "CryptoTokenKit._CryptoTokenKit",
            ["Modules/_CryptoTokenKit.m"],
            extra_link_args=["-framework", "CryptoTokenKit"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_CryptoTokenKit")
            ],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
    options=dict(bdist_wheel=dict(py_limited_api="cp36")),
)
示例#56
0
from pyobjc_setup import setup, Extension
import os

VERSION="3.2a1"

setup(
    name='pyobjc-framework-WebKit',
    version=VERSION,
    description = "Wrappers for the framework WebKit on Mac OS X",
    long_description=__doc__,
    packages = [ "WebKit", "JavaScriptCore" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    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')
            ]
        ),
    ]
)
示例#57
0
        ] + archs + ["build"],
                              cwd='src/MASShortcut')

        if os.path.exists("Lib/MASShortcut/MASShortcut.framework"):
            shutil.rmtree("Lib/MASShortcut/MASShortcut.framework")
        os.rename(
            os.path.join(build_dir, "Build", "Products", "Release",
                         "MASShortcut.framework"),
            "Lib/MASShortcut/MASShortcut.framework")


build.build.sub_commands.insert(0, ('build_framework', None))

setup(
    name='pyobjc-MASShortcut',
    description="Wrappers for the library MASShortcut on macOS",
    packages=["MASShortcut"],
    min_os_level='10.9',
    ext_modules=[
        Extension('MASShortcut._inlines', ['Modules/_MASShortcut_inlines.m'],
                  extra_compile_args=["-FLib/MASShortcut"])
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core',
        'pyobjc-framework-Cocoa',
    ],
    long_description=__doc__,
    cmdclass={'build_framework': build_framework},
)
示例#58
0
from pyobjc_setup import setup, Extension
import os

VERSION = "3.2a1"

setup(
    name='pyobjc-framework-CryptoTokenKit',
    version=VERSION,
    description="Wrappers for the framework CryptoTokenKit on Mac OS X",
    long_description=__doc__,
    packages=["CryptoTokenKit"],
    setup_requires=[
        'pyobjc-core>=' + VERSION,
    ],
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    min_os_level="10.10",
    ext_modules=[
        Extension("CryptoTokenKit._CryptoTokenKit",
                  ["Modules/_CryptoTokenKit.m"],
                  extra_link_args=["-framework", "CryptoTokenKit"],
                  depends=[
                      os.path.join('Modules', fn)
                      for fn in os.listdir('Modules')
                      if fn.startswith('_CryptoTokenKit')
                  ]),
    ],
)
示例#59
0
'''
Wrappers for the "Accounts" framework on MacOS X.

These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

from pyobjc_setup import setup

VERSION = "3.2a1"

setup(
    name='pyobjc-framework-Accounts',
    version=VERSION,
    description="Wrappers for the framework Accounts on Mac OS X",
    long_description=__doc__,
    packages=["Accounts"],
    setup_requires=[
        'pyobjc-core>=' + VERSION,
    ],
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    min_os_level="10.8",
)
示例#60
0
文件: setup.py 项目: aosm/pyobjc
and (Objective-)C frameworks
'''
from pyobjc_setup import setup, Extension
import os

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