annotate swig/setup.py @ 137:11892847d095

- Put the SSI feautres config back how it was.
author tom@acousticscale.org
date Tue, 26 Oct 2010 16:48:03 +0000
parents a9cb396529c2
children 2abaf1a47a37
rev   line source
tomwalters@0 1 #!/usr/bin/env python
tomwalters@0 2 # Copyright 2010, Thomas Walters
tomwalters@0 3 #
tomwalters@0 4 # AIM-C: A C++ implementation of the Auditory Image Model
tomwalters@1 5 # http://www.acousticscale.org/AIMC
tomwalters@0 6 #
tomwalters@45 7 # Licensed under the Apache License, Version 2.0 (the "License");
tomwalters@45 8 # you may not use this file except in compliance with the License.
tomwalters@45 9 # You may obtain a copy of the License at
tomwalters@0 10 #
tomwalters@45 11 # http://www.apache.org/licenses/LICENSE-2.0
tomwalters@0 12 #
tomwalters@45 13 # Unless required by applicable law or agreed to in writing, software
tomwalters@45 14 # distributed under the License is distributed on an "AS IS" BASIS,
tomwalters@45 15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
tomwalters@45 16 # See the License for the specific language governing permissions and
tomwalters@45 17 # limitations under the License.
tomwalters@0 18
tomwalters@0 19 """
tomwalters@0 20 setup.py file for SWIG wrappers around aimc
tomwalters@0 21 """
tomwalters@0 22
tomwalters@0 23 from distutils.core import setup, Extension
tomwalters@0 24
tomwalters@0 25 aimc_module = Extension('_aimc',
tomwalters@0 26 sources = ['aim_modules.i',
tomwalters@0 27 '../src/Support/Common.cc',
tomwalters@0 28 '../src/Support/Parameters.cc',
tomwalters@1 29 '../src/Support/SignalBank.cc',
tomwalters@1 30 '../src/Support/Module.cc',
tomwalters@16 31 '../src/Modules/BMM/ModuleGammatone.cc',
tomwalters@126 32 '../src/Modules/Features/ModuleGaussians.cc',
tomwalters@13 33 '../src/Modules/BMM/ModulePZFC.cc',
tomwalters@13 34 '../src/Modules/NAP/ModuleHCL.cc',
tomwalters@13 35 '../src/Modules/Strobes/ModuleParabola.cc',
tomwalters@32 36 '../src/Modules/Strobes/ModuleLocalMax.cc',
tomwalters@13 37 '../src/Modules/SAI/ModuleSAI.cc',
tomwalters@13 38 '../src/Modules/SSI/ModuleSSI.cc',
tomwalters@13 39 '../src/Modules/Profile/ModuleSlice.cc',
tomwalters@53 40 '../src/Modules/Profile/ModuleScaler.cc'],
tomwalters@0 41 swig_opts = ['-c++','-I../src/'],
tomwalters@32 42 include_dirs=['../src/', '/opt/local/include/']
tomwalters@0 43 )
tomwalters@0 44
tomwalters@0 45 setup (name = 'aimc',
tomwalters@0 46 version = '0.1',
tomwalters@0 47 author = "Thomas Walters <tom@acousticscale.org>",
tomwalters@0 48 description = """SWIG wrapper round the core of aimc""",
tomwalters@0 49 ext_modules = [aimc_module],
tomwalters@0 50 py_modules = ["aimc"],
tomwalters@53 51 )