本文整理汇总了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;未经允许,请勿转载。 |
请发表评论