Avoid installation of ns3modulegen-modular.py as a python module

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-09-26 15:31:06 +01:00
parent 93e9291a9e
commit c6077da00a
3 changed files with 505 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ def set_pybindgen_pythonpath(env):
def options(opt):
opt.tool_options('python')
opt.tool_options('python', ["waf-tools"])
opt.add_option('--disable-python',
help=("Don't build Python bindings."),
action="store_true", default=False,
@@ -91,7 +91,7 @@ def configure(conf):
conf.env.PYTHON = Options.options.with_python
try:
conf.check_tool('python')
conf.check_tool('python', ["waf-tools"])
conf.check_python_version((2,3))
conf.check_python_headers()
except Configure.ConfigurationError, ex: