History

use waf as new build system

Paul Brossier committed 17 years ago

Commit 000b0901 parent b511fa99 files · +438 −0Browse files

Showing the changes to python (2 of 9 files). Show all

Unified · Split

2 files
  1. python/aubio/wscript_build +14 −0
  2. python/wscript_build +3 −0
python/aubio/wscript_build+14−0
@@ -0,0 +1,14 @@
1pyaubio = bld.new_task_gen(name = 'python-aubio',
2 features = 'cc cshlib pyext',
3 source = '../../swig/aubio.i',
4 target = '_aubiowrapper',
5 uselib_local = ['aubio', 'aubioext'],
6 swig_flags = '-python -Wall',
7 includes = '. ../../src ../../ext')
8pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
9
10# install python files
11for file in bld.path.ant_glob('**/*.py').split():
12 bld.install_as('${PYTHONDIR}/${PACKAGE}/' + file, file)
13# install swig generated python file
14bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')
python/wscript_build+3−0
@@ -0,0 +1,3 @@
1# install headers
2for file in ['aubiocut', 'aubiopitch']:
3 bld.install_as('${PREFIX}/bin/' + file, file, chmod = 0755)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t