• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python pyobjc_setup.setup函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中pyobjc_setup.setup函数的典型用法代码示例。如果您正苦于以下问题:Python setup函数的具体用法?Python setup怎么用?Python setup使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了setup函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: setup

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')
            ]
        ),
    ],
)
开发者ID:benoit-pierre,项目名称:pyobjc,代码行数:30,代码来源:setup.py


示例2: and

''' 
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',
    ],
)
开发者ID:aosm,项目名称:pyobjc,代码行数:23,代码来源:setup.py


示例3: and

'''
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',
    ],
)
开发者ID:aosm,项目名称:pyobjc,代码行数:27,代码来源:setup.py


示例4: and

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,
    ],
)
开发者ID:benoit-pierre,项目名称:pyobjc,代码行数:30,代码来源:setup.py


示例5: and

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" ],
        ),
    ],
)
开发者ID:Khan,项目名称:pyobjc-framework-FSEvents,代码行数:30,代码来源:setup.py


示例6: setup

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"]),
    ],
)
开发者ID:BMXE,项目名称:music-player,代码行数:30,代码来源:setup.py


示例7: setup

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"]),
    ],
)
开发者ID:Khan,项目名称:pyobjc-framework-Cocoa,代码行数:55,代码来源:setup.py


示例8: open

 * 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',
    ],
)
开发者ID:aosm,项目名称:pyobjc,代码行数:29,代码来源:setup.py



注:本文中的pyobjc_setup.setup函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python pyobjus.autoclass函数代码示例发布时间:2022-05-27
下一篇:
Python pyo.getVersion函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap