Skip to content

Commit

Permalink
Fix empty file???
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldoussoren committed Jun 30, 2020
1 parent 1b041c3 commit 17881f8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pyobjc-framework-CoreAudioKit/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
"""
Wrappers for the "CoreAudioKit" 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
"""

#
# Distutils doesn't undestand '.mm' as an extension
#
import distutils.unixccompiler
import os

from pyobjc_setup import Extension, setup

VERSION = "6.2.2"


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

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

0 comments on commit 17881f8

Please sign in to comment.