annotate swig/setup.py @ 601:d838de2ce1b1

Added AGC::designAGC() This new method is not debugged ... that is the next step.
author flatmax
date Tue, 02 Apr 2013 08:38:23 +0000
parents 88b515b1a453
children
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@237 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@164 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""",
hamel@267 49 # A bug with some versions of SWIG/distutils/python and some configurations requires
hamel@267 50 # us to repeat the swig_opts here.
hamel@267 51 options={'build_ext':{'swig_opts':'-c++ -I../src/'}},
tomwalters@0 52 ext_modules = [aimc_module],
tomwalters@0 53 py_modules = ["aimc"],
tomwalters@164 54 )