Mercurial > hg > aimc
comparison swig/setup.py @ 1:bc394a985042
- Fixed the python SWIG wrappers
- Added stub test for the Gaussian features, and test data
- Fixed build errors
author | tomwalters |
---|---|
date | Mon, 15 Feb 2010 20:37:26 +0000 |
parents | 582cbe817f2c |
children | 3c782dec2fc0 |
comparison
equal
deleted
inserted
replaced
0:582cbe817f2c | 1:bc394a985042 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2010, Thomas Walters | 2 # Copyright 2010, Thomas Walters |
3 # | 3 # |
4 # AIM-C: A C++ implementation of the Auditory Image Model | 4 # AIM-C: A C++ implementation of the Auditory Image Model |
5 # http:#www.acousticscale.org/AIMC | 5 # http://www.acousticscale.org/AIMC |
6 # | 6 # |
7 # This program is free software: you can redistribute it and/or modify | 7 # This program is free software: you can redistribute it and/or modify |
8 # it under the terms of the GNU General Public License as published by | 8 # it under the terms of the GNU General Public License as published by |
9 # the Free Software Foundation, either version 3 of the License, or | 9 # the Free Software Foundation, either version 3 of the License, or |
10 # (at your option) any later version. | 10 # (at your option) any later version. |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 # GNU General Public License for more details. | 15 # GNU General Public License for more details. |
16 # | 16 # |
17 # You should have received a copy of the GNU General Public License | 17 # You should have received a copy of the GNU General Public License |
18 # along with this program. If not, see <http:#www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 """ | 20 """ |
21 setup.py file for SWIG wrappers around aimc | 21 setup.py file for SWIG wrappers around aimc |
22 """ | 22 """ |
23 | 23 |
25 | 25 |
26 aimc_module = Extension('_aimc', | 26 aimc_module = Extension('_aimc', |
27 sources = ['aim_modules.i', | 27 sources = ['aim_modules.i', |
28 '../src/Support/Common.cc', | 28 '../src/Support/Common.cc', |
29 '../src/Support/Parameters.cc', | 29 '../src/Support/Parameters.cc', |
30 '../src/Support/Module.cc', | 30 '../src/Support/SignalBank.cc', |
31 '../src/Support/Module.cc', | |
31 '../src/Modules/Features/ModuleGaussians.cc'], | 32 '../src/Modules/Features/ModuleGaussians.cc'], |
32 swig_opts = ['-c++','-I../src/'], | 33 swig_opts = ['-c++','-I../src/'], |
33 include_dirs=['../src/'] | 34 include_dirs=['../src/'] |
34 ) | 35 ) |
35 | 36 |