Mercurial > hg > btrack
comparison python-module/setup.py @ 5:bd2c405d4a06 develop
Added all source code
author | Adam <adamstark.uk@gmail.com> |
---|---|
date | Tue, 21 Jan 2014 00:10:11 +0000 |
parents | |
children | 46971d477183 |
comparison
equal
deleted
inserted
replaced
3:0e8e9952ddb0 | 5:bd2c405d4a06 |
---|---|
1 # setup.py | |
2 # build command : python setup.py build build_ext --inplace | |
3 from numpy.distutils.core import setup, Extension | |
4 import os, numpy | |
5 | |
6 name = 'btrack' | |
7 sources = ['btrack_python_module.cpp','../src/OnsetDetectionFunction.cpp','../src/BTrack.cpp'] | |
8 | |
9 include_dirs = [ | |
10 numpy.get_include(),'/usr/local/include' | |
11 ] | |
12 | |
13 setup( name = 'BTtrack', | |
14 include_dirs = include_dirs, | |
15 ext_modules = [Extension(name, sources,libraries = ['fftw3','samplerate'])] | |
16 ) |