tomwalters@268: #!/usr/bin/env python tomwalters@268: # Copyright 2010, Thomas Walters tomwalters@268: # tomwalters@268: # AIM-C: A C++ implementation of the Auditory Image Model tomwalters@273: # http://www.acousticscale.org/AIMC tomwalters@268: # tomwalters@268: # This program is free software: you can redistribute it and/or modify tomwalters@268: # it under the terms of the GNU General Public License as published by tomwalters@268: # the Free Software Foundation, either version 3 of the License, or tomwalters@268: # (at your option) any later version. tomwalters@268: # tomwalters@268: # This program is distributed in the hope that it will be useful, tomwalters@268: # but WITHOUT ANY WARRANTY; without even the implied warranty of tomwalters@268: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tomwalters@268: # GNU General Public License for more details. tomwalters@268: # tomwalters@268: # You should have received a copy of the GNU General Public License tomwalters@273: # along with this program. If not, see . tomwalters@268: tomwalters@268: """ tomwalters@268: setup.py file for SWIG wrappers around aimc tomwalters@268: """ tomwalters@268: tomwalters@268: from distutils.core import setup, Extension tomwalters@268: tomwalters@268: aimc_module = Extension('_aimc', tomwalters@268: sources = ['aim_modules.i', tomwalters@268: '../src/Support/Common.cc', tomwalters@268: '../src/Support/Parameters.cc', tomwalters@273: '../src/Support/SignalBank.cc', tomwalters@273: '../src/Support/Module.cc', tomwalters@277: '../src/Modules/Features/ModuleGaussians.cc', tomwalters@288: '../src/Modules/BMM/ModuleGammatone.cc', tomwalters@285: '../src/Modules/BMM/ModulePZFC.cc', tomwalters@285: '../src/Modules/NAP/ModuleHCL.cc', tomwalters@285: '../src/Modules/Strobes/ModuleParabola.cc', tomwalters@305: '../src/Modules/Strobes/ModuleLocalMax.cc', tomwalters@285: '../src/Modules/SAI/ModuleSAI.cc', tomwalters@285: '../src/Modules/SSI/ModuleSSI.cc', tomwalters@305: '../src/Modules/SNR/ModuleNoise.cc', tomwalters@285: '../src/Modules/Profile/ModuleSlice.cc', tomwalters@292: '../src/Modules/Profile/ModuleScaler.cc', tomwalters@285: '../src/Modules/Output/FileOutputHTK.cc'], tomwalters@268: swig_opts = ['-c++','-I../src/'], tomwalters@305: include_dirs=['../src/', '/opt/local/include/'] tomwalters@268: ) tomwalters@268: tomwalters@268: setup (name = 'aimc', tomwalters@268: version = '0.1', tomwalters@268: author = "Thomas Walters ", tomwalters@268: description = """SWIG wrapper round the core of aimc""", tomwalters@268: ext_modules = [aimc_module], tomwalters@268: py_modules = ["aimc"], tomwalters@268: )