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@268: # 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@268: # 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@268: '../src/Support/Module.cc', tomwalters@268: '../src/Modules/Features/ModuleGaussians.cc'], tomwalters@268: swig_opts = ['-c++','-I../src/'], tomwalters@268: include_dirs=['../src/'] 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: )