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