示例#1
0
文件: setup.py 项目: fish2000/pyobjc
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworks
'''

import os
from pyobjc_setup import setup, Extension

VERSION = "3.3a0"

setup(
    name='pyobjc-framework-CoreBluetooth',
    description="Wrappers for the framework CoreBluetooth on Mac OS X",
    min_os_level="10.10",
    packages=["CoreBluetooth"],
    ext_modules=[
        Extension("CoreBluetooth._CoreBluetooth", ["Modules/_CoreBluetooth.m"],
                  extra_link_args=["-framework", "CoreBluetooth"],
                  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__,
)
示例#2
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')
                    ]),
      ])
示例#3
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},
)
示例#4
0
文件: setup.py 项目: rongilson/pyobjc
"""
import os

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-ImageCaptureCore",
    description="Wrappers for the framework ImageCaptureCore on macOS",
    min_os_level="10.6",
    packages=["ImageCaptureCore"],
    ext_modules=[
        Extension(
            "ImageCaptureCore._ImageCaptureCore",
            ["Modules/_ImageCaptureCore.m"],
            extra_link_args=["-framework", "ImageCaptureCore"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_ImageCaptureCore")
            ],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
    options={"bdist_wheel": {"py_limited_api": "cp36"}},
)
示例#5
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"
    }},
)
示例#6
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')
                  ]),
    ],
)
示例#7
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__,
)
示例#8
0
文件: setup.py 项目: rongilson/pyobjc
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

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={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#9
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 = "6.2b1"

setup(
    name="pyobjc-framework-SystemConfiguration",
    description="Wrappers for the framework SystemConfiguration on macOS",
    packages=["SystemConfiguration"],
    ext_modules=[
        Extension("SystemConfiguration._manual", ["Modules/_manual.m"],
                  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")),
)
示例#10
0
from pyobjc_setup import Extension, setup

VERSION = "8.0b1"

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"
示例#11
0
subpackages = [
    "Quartz.%s" % (fn, ) for fn in os.listdir("Lib/Quartz")
    if os.path.exists(os.path.join("Lib/Quartz", fn, "__init__.py"))
]

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-Quartz",
    description="Wrappers for the Quartz frameworks on macOS",
    packages=["Quartz"] + subpackages,
    ext_modules=[
        # CoreVideo
        Extension(
            "Quartz.CoreVideo._CVPixelBuffer",
            ["Modules/_CVPixelBuffer.m"],
            py_limited_api=True,
        ),
        # CoreGraphics
        Extension(
            "Quartz.CoreGraphics._inlines",
            ["Modules/_CoreGraphics_inlines.m"],
            py_limited_api=True,
        ),
        Extension(
            "Quartz.CoreGraphics._callbacks",
            ["Modules/_callbacks.m"],
            extra_compile_args=["-Wno-deprecated-declarations"],
            # py_limited_api=True,
        ),
        Extension(
示例#12
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 Extension, setup

VERSION = "8.0b1"

setup(
    name="pyobjc-framework-ScreenSaver",
    description="Wrappers for the framework ScreenSaver on macOS",
    packages=["ScreenSaver"],
    ext_modules=[
        Extension(
            "ScreenSaver._inlines",
            ["Modules/_ScreenSaver_inlines.m"],
            extra_link_args=["-framework", "ScreenSaver"],
            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"
    }},
)
示例#13
0
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-GameCenter",
    description="Wrappers for the framework GameCenter on macOS",
    min_os_level="10.8",
    packages=["GameCenter"],
    ext_modules=[
        Extension(
            "GameCenter._GameCenter",
            ["Modules/_GameCenter.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("_GameCenter")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#14
0
import os

from pyobjc_setup import Extension, setup

VERSION = "8.0b1"

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"],
        ),
        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",
示例#15
0
文件: setup.py 项目: rongilson/pyobjc
VERSION = "6.2.2"

subpackages = [
    "CoreServices.%s" % (fn, ) for fn in os.listdir("Lib/CoreServices")
    if os.path.exists(os.path.join("Lib/CoreServices", fn, "__init__.py"))
]

setup(
    name="pyobjc-framework-CoreServices",
    description="Wrappers for the framework CoreServices on macOS",
    packages=["CoreServices"] + subpackages,
    ext_modules=[
        Extension(
            "CoreServices._inlines",
            ["Modules/_CoreServices_inlines.m"],
            extra_link_args=["-framework", "CoreServices"],
            py_limited_api=True,
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION,
        "pyobjc-framework-FSEvents>=" + VERSION,
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#16
0
文件: setup.py 项目: rongilson/pyobjc
import os

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

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,
    install_requires=[
示例#17
0
from pyobjc_setup import setup, Extension
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')
                  ]),
    ],
)
示例#18
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-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={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#19
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")),
)
示例#20
0
"""
from pyobjc_setup import setup, Extension
import os

VERSION = "6.2b1"

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

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-NetworkExtension",
    description="Wrappers for the framework NetworkExtension on macOS",
    min_os_level="10.11",
    packages=["NetworkExtension"],
    ext_modules=[
        Extension(
            "NetworkExtension._NetworkExtension",
            ["Modules/_NetworkExtension.m"],
            extra_link_args=["-framework", "NetworkExtension"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn)
                for fn in os.listdir("Modules")
                if fn.startswith("_NetworkExtension")
            ],
        )
    ],
    version=VERSION,
    install_requires=["pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION],
    long_description=__doc__,
    options={"bdist_wheel": {"py_limited_api": "cp36"}},
)
示例#23
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__,
)
示例#24
0
文件: setup.py 项目: rongilson/pyobjc
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-ExternalAccessory",
    description="Wrappers for the framework ExternalAccessory on macOS",
    min_os_level="10.13",
    packages=["ExternalAccessory"],
    ext_modules=[
        Extension(
            "ExternalAccessory._ExternalAccessory",
            ["Modules/_ExternalAccessory.m"],
            extra_link_args=["-framework", "ExternalAccessory"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_ExternalAccessory")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION, "pyobjc-framework-Cocoa>=" + VERSION
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#25
0
文件: setup.py 项目: fish2000/pyobjc
and (Objective-)C frameworks
'''

from pyobjc_setup import setup, Extension
import os

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

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-MultipeerConnectivity",
    description="Wrappers for the framework MultipeerConnectivity on macOS",
    min_os_level="10.10",
    packages=["MultipeerConnectivity"],
    ext_modules=[
        Extension(
            "MultipeerConnectivity._MultipeerConnectivity",
            ["Modules/_MultipeerConnectivity.m"],
            extra_link_args=["-framework", "MultipeerConnectivity"],
            py_limited_api=True,
            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__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)
示例#27
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")),
)
示例#28
0
文件: setup.py 项目: rongilson/pyobjc
from pyobjc_setup import Extension, setup

VERSION = "6.2.2"

setup(
    name="pyobjc-framework-ContactsUI",
    description="Wrappers for the framework ContactsUI on macOS",
    min_os_level="10.11",
    packages=["ContactsUI"],
    ext_modules=[
        Extension(
            "ContactsUI._ContactsUI",
            ["Modules/_ContactsUI.m"],
            extra_link_args=["-framework", "ContactsUI"],
            py_limited_api=True,
            depends=[
                os.path.join("Modules", fn) for fn in os.listdir("Modules")
                if fn.startswith("_ContactsUI")
            ],
        )
    ],
    version=VERSION,
    install_requires=[
        "pyobjc-core>=" + VERSION,
        "pyobjc-framework-Cocoa>=" + VERSION,
        "pyobjc-framework-Contacts>=" + VERSION,
    ],
    long_description=__doc__,
    options={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
示例#29
0
文件: setup.py 项目: rongilson/pyobjc
import os

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
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-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={"bdist_wheel": {
        "py_limited_api": "cp36"
    }},
)