Mercurial > hg > btrack
comparison modules-and-plug-ins/python-module/setup.py @ 72:f4d9410f187e
flow: Merged <release> '1.0.0' to <master> ('master').
author | Adam Stark <adamstark@users.noreply.github.com> |
---|---|
date | Tue, 08 Jul 2014 12:32:27 +0100 |
parents | 68d01fea1e8d |
children | db22205f8ffa |
comparison
equal
deleted
inserted
replaced
44:3049937d6ef1 | 72:f4d9410f187e |
---|---|
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 = 'BTrack', | |
14 include_dirs = include_dirs, | |
15 ext_modules = [Extension(name, sources,libraries = ['fftw3','samplerate'])] | |
16 ) |