Bug 1200 - ./waf install doesn't install Python bindings properly
This commit is contained in:
@@ -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'):
|
||||
|
||||
@@ -354,6 +354,7 @@ def ns3_python_bindings(bld):
|
||||
pass
|
||||
pymod.env['CXXDEFINES'] = defines
|
||||
pymod.includes = 'bindings'
|
||||
pymod.install_path = '${PYTHONDIR}/ns'
|
||||
return pymod
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user