History

wscript, **/wscript_build: use ctx to match latest waf docs

Paul Brossier committed 14 years ago

Commit d41bc4d1 parent f4493f45 files · +98 −101Browse files

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

Unified · Split

2 files
  1. python/aubio/wscript_build +3 −3
  2. python/wscript_build +2 −2
python/aubio/wscript_build+3−3
@@ -1,6 +1,6 @@
11 # vim:set syntax=python:
22
3−pyaubio = bld.new_task_gen(name = 'python-aubio',
3+pyaubio = ctx.new_task_gen(name = 'python-aubio',
44 features = 'c cshlib pyext',
55 source = '../../swig/aubio.i',
66 add_objects = 'sndfileio',
@@ -12,6 +12,6 @@ pyaubio = bld.new_task_gen(name = 'python-aubio', · 5 unmodified lines
1212 pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
1313
1414 # install python files
15−bld.install_files('${PYTHONDIR}/${PACKAGE}/', bld.path.ant_glob('**/*.py'))
15+ctx.install_files('${PYTHONDIR}/${PACKAGE}/', ctx.path.ant_glob('**/*.py'))
1616 # install swig generated python file
17−bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')
17+ctx.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')
python/wscript_build+2−2
@@ -1,6 +1,6 @@
11 # vim:set syntax=python:
22
3−bld.add_subdirs('aubio')
3+ctx.add_subdirs('aubio')
44 # install headers
55 for file in ['aubiocut', 'aubiopitch']:
6− bld.install_as('${PREFIX}/bin/' + file, file, chmod = 0755)
6+ ctx.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