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