Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -1,5 +1,7 @@ | ||
| 1 | +# vim:set syntax=python: | |
| 2 | + | |
| 1 | 3 | pyaubio = bld.new_task_gen(name = 'python-aubio', |
| 2 | − features = 'cc cshlib pyext', | |
| 4 | + features = 'c cshlib pyext', | |
| 3 | 5 | source = '../../swig/aubio.i', |
| 4 | 6 | add_objects = 'sndfileio', |
| 5 | 7 | target = '_aubiowrapper', |
| @@ -10,7 +12,6 @@ pyaubio = bld.new_task_gen(name = 'python-aubio', · 4 unmodified lines | ||
| 10 | 12 | pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}' |
| 11 | 13 | |
| 12 | 14 | # install python files |
| 13 | −for file in bld.path.ant_glob('**/*.py').split(): | |
| 14 | − bld.install_as('${PYTHONDIR}/${PACKAGE}/' + file, file) | |
| 15 | +bld.install_files('${PYTHONDIR}/${PACKAGE}/', bld.path.ant_glob('**/*.py')) | |
| 15 | 16 | # install swig generated python file |
| 16 | 17 | bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py') |