Bug 1200 - ./waf install doesn't install Python bindings properly

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-07-05 19:16:47 +01:00
parent 2f907d942b
commit 78782ea0a2
2 changed files with 2 additions and 0 deletions

View File

@@ -602,6 +602,7 @@ def build(bld):
bld.new_task_gen(features='copy',
source="ns__init__.py",
target='ns/__init__.py')
bld.install_as('${PYTHONDIR}/ns/__init__.py', 'ns__init__.py')
if env['ENABLE_PYTHON_BINDINGS'] and env['BINDINGS_TYPE'] in ('monolithic', 'both'):