view modules-and-plug-ins/python-module/setup.py @ 22:a8e3e95d14e4 develop

Renamed many variables, functions and arguments so they have more sensible names. Also removed an apparently redundant variable in OnsetDetectionFunction called wframe
author Adam <adamstark.uk@gmail.com>
date Fri, 24 Jan 2014 21:45:55 +0000
parents 18fc3c248436
children db22205f8ffa
line wrap: on
line source
# setup.py
# build command : python setup.py build build_ext --inplace
from numpy.distutils.core import setup, Extension
import os, numpy

name = 'btrack'
sources = ['btrack_python_module.cpp','../../src/OnsetDetectionFunction.cpp','../../src/BTrack.cpp']

include_dirs = [
                numpy.get_include(),'/usr/local/include'
                ]

setup( name = 'BTrack',
      include_dirs = include_dirs,
      ext_modules = [Extension(name, sources,libraries = ['fftw3','samplerate'])]
      )