from distutils.core import setup, Extension
from generator import generate_object_files
+import sys
import os.path
import numpy
] + generate_object_files(),
include_dirs = include_dirs + [ numpy.get_include() ],
library_dirs = library_dirs,
- extra_link_args = ['-framework','CoreFoundation', '-framework','AudioToolbox'],
libraries=['aubio'])
+if sys.platform.startswith('darwin'):
+ aubio_extension.extra_link_args = ['-framework','CoreFoundation', '-framework','AudioToolbox']
+
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',