annotate trunk/swig/setup.py @ 316:66a23c0545b6

-Added MFCCs back to the feature generation script
author tomwalters
date Thu, 04 Mar 2010 17:38:58 +0000
parents ed91095d9240
children 30dde71d0230
rev   line source
tomwalters@268 1 #!/usr/bin/env python
tomwalters@268 2 # Copyright 2010, Thomas Walters
tomwalters@268 3 #
tomwalters@268 4 # AIM-C: A C++ implementation of the Auditory Image Model
tomwalters@273 5 # http://www.acousticscale.org/AIMC
tomwalters@268 6 #
tomwalters@268 7 # This program is free software: you can redistribute it and/or modify
tomwalters@268 8 # it under the terms of the GNU General Public License as published by
tomwalters@268 9 # the Free Software Foundation, either version 3 of the License, or
tomwalters@268 10 # (at your option) any later version.
tomwalters@268 11 #
tomwalters@268 12 # This program is distributed in the hope that it will be useful,
tomwalters@268 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
tomwalters@268 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
tomwalters@268 15 # GNU General Public License for more details.
tomwalters@268 16 #
tomwalters@268 17 # You should have received a copy of the GNU General Public License
tomwalters@273 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
tomwalters@268 19
tomwalters@268 20 """
tomwalters@268 21 setup.py file for SWIG wrappers around aimc
tomwalters@268 22 """
tomwalters@268 23
tomwalters@268 24 from distutils.core import setup, Extension
tomwalters@268 25
tomwalters@268 26 aimc_module = Extension('_aimc',
tomwalters@268 27 sources = ['aim_modules.i',
tomwalters@268 28 '../src/Support/Common.cc',
tomwalters@268 29 '../src/Support/Parameters.cc',
tomwalters@273 30 '../src/Support/SignalBank.cc',
tomwalters@273 31 '../src/Support/Module.cc',
tomwalters@277 32 '../src/Modules/Features/ModuleGaussians.cc',
tomwalters@288 33 '../src/Modules/BMM/ModuleGammatone.cc',
tomwalters@285 34 '../src/Modules/BMM/ModulePZFC.cc',
tomwalters@285 35 '../src/Modules/NAP/ModuleHCL.cc',
tomwalters@285 36 '../src/Modules/Strobes/ModuleParabola.cc',
tomwalters@305 37 '../src/Modules/Strobes/ModuleLocalMax.cc',
tomwalters@285 38 '../src/Modules/SAI/ModuleSAI.cc',
tomwalters@285 39 '../src/Modules/SSI/ModuleSSI.cc',
tomwalters@305 40 '../src/Modules/SNR/ModuleNoise.cc',
tomwalters@285 41 '../src/Modules/Profile/ModuleSlice.cc',
tomwalters@292 42 '../src/Modules/Profile/ModuleScaler.cc',
tomwalters@285 43 '../src/Modules/Output/FileOutputHTK.cc'],
tomwalters@268 44 swig_opts = ['-c++','-I../src/'],
tomwalters@305 45 include_dirs=['../src/', '/opt/local/include/']
tomwalters@268 46 )
tomwalters@268 47
tomwalters@268 48 setup (name = 'aimc',
tomwalters@268 49 version = '0.1',
tomwalters@268 50 author = "Thomas Walters <tom@acousticscale.org>",
tomwalters@268 51 description = """SWIG wrapper round the core of aimc""",
tomwalters@268 52 ext_modules = [aimc_module],
tomwalters@268 53 py_modules = ["aimc"],
tomwalters@268 54 )