示例#1
0
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

VERSION="3.2a1"

setup(
    name='pyobjc-framework-SystemConfiguration',
    version=VERSION,
    description = "Wrappers for the framework SystemConfiguration on Mac OS X",
    long_description=__doc__,
    packages = [ "SystemConfiguration" ],
    setup_requires = [
        'pyobjc-core>=' + VERSION,
    ],
    install_requires = [
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    ext_modules = [
        Extension('SystemConfiguration._manual',
                 [ 'Modules/_manual.m' ],
        ),
    ],
)
示例#2
0
import os

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

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

VERSION = "6.2b1"

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

VERSION = "3.2a1"

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

VERSION = "6.2b1"

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

VERSION = "6.2b1"

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

VERSION = "3.2a1"

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

from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-libdispatch",
    description="Wrappers for libdispatch on macOS",
    min_os_level="10.8",
    packages=["libdispatch"],
    ext_modules=[
        Extension(
            "libdispatch._inlines",
            ["Modules/_libdispatch_inlines.m"],
            py_limited_api=True,
        ),
        Extension(
            "libdispatch._libdispatch",
            ["Modules/_libdispatch.m"],
            # py_limited_api=True
        ),
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION],
    long_description=__doc__,
    # options=dict(
    #    bdist_wheel=dict(
    #        py_limited_api="cp36"
    #    )
示例#9
0
import os

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-Cocoa",
    description="Wrappers for the Cocoa frameworks on macOS",
    packages=[
        "Cocoa", "CoreFoundation", "Foundation", "AppKit", "PyObjCTools"
    ],
    namespace_packages=["PyObjCTools"],
    ext_modules=[
        # CoreFoundation
        Extension(
            "CoreFoundation._inlines",
            ["Modules/_CoreFoundation_inlines.m"],
            extra_link_args=["-framework", "CoreFoundation"],
            # py_limited_api=True,
        ),
        Extension(
            "CoreFoundation._CoreFoundation",
            ["Modules/_CoreFoundation.m"],
            extra_link_args=["-framework", "CoreFoundation"],
            # py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_CoreFoundation")
            ],
        ),
        # Foundation
        Extension(
            "Foundation._inlines",
示例#10
0
'''

from pyobjc_setup import setup, Extension
import os

VERSION="3.3a0"

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

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-ScriptingBridge",
    description="Wrappers for the framework ScriptingBridge on macOS",
    min_os_level="10.5",
    packages=["ScriptingBridge"],
    ext_modules=[
        Extension(
            "ScriptingBridge._ScriptingBridge",
            ["Modules/_ScriptingBridge.m"],
            extra_link_args=["-framework", "ScriptingBridge"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_ScriptingBridge")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#12
0
#
# Distutils doesn't undestand '.mm' as an extension
#
import distutils.unixccompiler

distutils.unixccompiler.UnixCCompiler.src_extensions.append(".mm")

setup(
    name="pyobjc-framework-DiscRecording",
    description="Wrappers for the framework DiscRecording on macOS",
    packages=["DiscRecording"],
    ext_modules=[
        Extension(
            "DiscRecording._DiscRecording",
            ["Modules/_DiscRecording.m"],
            extra_link_args=["-framework", "DiscRecording"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_DiscRecording")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options=dict(bdist_wheel=dict(py_limited_api="cp36")),
)
示例#13
0
Wrappers for the "CoreMediaIO" 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, Extension

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-CoreMediaIO",
    description="Wrappers for the framework CoreMediaIO on macOS",
    min_os_level="10.7",
    packages=["CoreMediaIO"],
    ext_modules=[
        Extension(
            "CoreMediaIO._CoreMediaIO",
            ["Modules/_CoreMediaIO.m"],
            extra_link_args=["-framework", "CoreMediaIO"],
            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")),
)
示例#14
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

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-MediaToolbox",
    description="Wrappers for the framework MediaToolbox on macOS",
    min_os_level="10.9",
    packages=["MediaToolbox"],
    ext_modules=[
        Extension(
            "MediaToolbox._MediaToolbox",
            ["Modules/_MediaToolbox.m"],
            extra_link_args=["-framework", "MediaToolbox"],
            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")),
)
示例#15
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-Contacts',
    description="Wrappers for the framework Contacts on Mac OS X",
    min_os_level='10.11',
    packages=["Contacts"],
    ext_modules=[
        Extension("Contacts._Contacts", ["Modules/_Contacts.m"],
                  extra_link_args=["-framework", "Contacts"],
                  depends=[
                      os.path.join('Modules', fn)
                      for fn in os.listdir('Modules')
                      if fn.startswith('_Contacts')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#16
0
from pyobjc_setup import Extension, setup

VERSION = "8.0b1"

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"
    }},
)
示例#17
0
文件: setup.py 项目: rongilson/pyobjc
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-VideoToolbox",
    description="Wrappers for the framework VideoToolbox on macOS",
    min_os_level="10.8",
    packages=["VideoToolbox"],
    ext_modules=[
        Extension(
            "VideoToolbox._VideoToolbox",
            ["Modules/_VideoToolbox.m"],
            extra_link_args=["-framework", "VideoToolbox"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_VideoToolbox")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION,
        "pyobjc-framework-Cocoa>=" + VERSION,
        "pyobjc-framework-Quartz>=" + VERSION,
        "pyobjc-framework-CoreMedia>=" + VERSION,
    ],
    long_description=__doc__,
    options={"bdist_wheel": {"py_limited_api": "cp36"}},
示例#18
0
"""
Wrappers for the "CoreMedia" 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 Extension, setup

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-CoreMedia",
    description="Wrappers for the framework CoreMedia on macOS",
    min_os_level="10.7",
    packages=["CoreMedia"],
    ext_modules=[
        Extension(
            "CoreMedia._CoreMedia",
            ["Modules/_CoreMedia.m"],
            extra_link_args=["-framework", "CoreMedia"],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
)
示例#19
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},
)
示例#20
0
    description="Wrappers for the Cocoa frameworks on Mac OS X",
    long_description=__doc__,
    packages=[
        "Cocoa", "CoreFoundation", "Foundation", "AppKit", "PyObjCTools"
    ],
    namespace_packages=['PyObjCTools'],
    setup_requires=[
        'pyobjc-core>=3.0.4',
    ],
    install_requires=[
        'pyobjc-core>=3.0.4',
    ],
    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'],
示例#21
0
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-NotificationCenter',
    description="Wrappers for the framework NotificationCenter on Mac OS X",
    min_os_level="10.10",
    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')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#22
0
"""

from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-AVFoundation",
    description="Wrappers for the framework AVFoundation on macOS",
    min_os_level="10.7",
    packages=["AVFoundation"],
    ext_modules=[
        Extension(
            "AVFoundation._inlines",
            ["Modules/_AVFoundation_inlines.m"],
            extra_link_args=["-framework", "AVFoundation"],
            py_limited_api=True,
        ),
        Extension(
            "AVFoundation._AVFoundation",
            ["Modules/_AVFoundation.m"],
            extra_link_args=["-framework", "AVFoundation"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_AVFoundation")
            ],
        ),
    ],
    version=VERSION,
    install_requires=[
示例#23
0
文件: setup.py 项目: rongilson/pyobjc
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
"""

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-SecurityInterface",
    description="Wrappers for the framework SecurityInterface on macOS",
    packages=["SecurityInterface"],
    ext_modules=[
        Extension(
            "SecurityInterface._SecurityInterface",
            ["Modules/_SecurityInterface.m"],
            extra_link_args=["-framework", "SecurityInterface"],
            py_limited_api=True,
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION,
        "pyobjc-framework-Cocoa>=" + VERSION,
        "pyobjc-framework-Security>=" + VERSION,
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#24
0
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-ModelIO',
    description="Wrappers for the framework ModelIO on Mac OS X",
    min_os_level="10.11",
    packages=["ModelIO"],
    ext_modules=[
        Extension("ModelIO._ModelIO", ["Modules/_ModelIO.m"],
                  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__,
)
示例#25
0
"""

from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

setup(
    name="pyobjc-framework-AuthenticationServices",
    description="Wrappers for the framework AuthenticationServices on macOS",
    min_os_level="10.15",
    packages=["AuthenticationServices"],
    ext_modules=[
        Extension(
            "AuthenticationServices._AuthenticationServices",
            ["Modules/_AuthenticationServices.m"],
            extra_link_args=["-framework", "AuthenticationServices"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_AuthenticationServices")
            ],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
    options=dict(bdist_wheel=dict(py_limited_api="cp36")),
)
示例#26
0
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-PhotosUI',
    description="Wrappers for the framework PhotosUI on Mac OS X",
    min_os_level="10.11",
    packages=["PhotosUI"],
    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')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#27
0
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-IMServicePlugIn',
    description="Wrappers for the framework IMServicePlugIn on Mac OS X",
    min_os_level='10.7',
    packages=["IMServicePlugIn"],
    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')
                  ]),
    ],
    version=VERSION,
    install_requires=[
        'pyobjc-core>=' + VERSION,
        'pyobjc-framework-Cocoa>=' + VERSION,
    ],
    long_description=__doc__,
)
示例#28
0
from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

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

VERSION = "8.0b1"


distutils.unixccompiler.UnixCCompiler.src_extensions.append(".mm")

setup(
    name="pyobjc-framework-CoreAudio",
    description="Wrappers for the framework CoreAudio on macOS",
    packages=["CoreAudio"],
    ext_modules=[
        Extension(
            "CoreAudio._inlines",
            ["Modules/_CoreAudio_inlines.mm"],
            extra_link_args=["-framework", "CoreAudio"],
            py_limited_api=True,
        ),
        Extension(
            "CoreAudio._CoreAudio",
            ["Modules/_CoreAudio.m"],
            extra_link_args=["-framework", "CoreAudio"],
            # py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_CoreAudio")
            ],
        ),
    ],
    version=VERSION,
示例#30
0
and (Objective-)C frameworks
"""
import os

from pyobjc_setup import setup, Extension

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-FileProvider",
    description="Wrappers for the framework FileProvider on macOS",
    min_os_level="10.15",
    packages=["FileProvider"],
    ext_modules=[
        Extension(
            "FileProvider._FileProvider",
            ["Modules/_FileProvider.m"],
            extra_link_args=["-framework", "FileProvider"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_FileProvider")
            ],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
)