-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (44 loc) · 1.61 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (44 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup, find_packages, Extension
import sys, os
version = '0.3'
if sys.platform != 'darwin':
raise Exception(
"simplecoremidi only works on Mac OS X (plaform: darwin). "
"Your system claims to be {}, which won't work.".format(sys.platform))
install_requires = [
# -*- Extra requirements: -*-
]
_scm_module = Extension(
'simplecoremidi._simplecoremidi',
sources=['simplecoremidi/_simplecoremidi.c'],
extra_link_args=['-framework', 'CoreFoundation',
'-framework', 'CoreMIDI']
)
setup(name='simplecoremidi',
version=version,
description="Simple OS X CoreMIDI interface",
long_description=open("README", "r").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Environment :: MacOS X",
"Intended Audience :: Developers",
"Development Status :: 3 - Alpha",
"Topic :: Multimedia :: Sound/Audio :: MIDI",
"License :: OSI Approved :: MIT License",
],
keywords='osx, CoreMIDI, MIDI, Mac OS X',
author='Mike Verdone',
author_email='mike.verdone+simplecoremidi@gmail.com',
url='https://github.com/sixohsix/simplecoremidi',
license='MIT License',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points="""
# -*- Entry points: -*-
""",
ext_modules=[_scm_module],
)