From cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Oct 2019 19:46:24 +0200 Subject: Build Python bindings by default --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 98625d3..84d60ad 100644 --- a/wscript +++ b/wscript @@ -43,7 +43,7 @@ def options(ctx): ctx.add_flags( opt, {'no-utils': 'do not build command line utilities', - 'bindings': 'build python bindings', + 'no-bindings': 'do not build python bindings', 'dyn-manifest': 'build support for dynamic manifests', 'no-bash-completion': 'do not install bash completion script', 'static': 'build static library', @@ -62,10 +62,10 @@ def configure(conf): except: pass - if Options.options.bindings: + if not Options.options.no_bindings: try: conf.load('python', cache=True) - conf.check_python_headers() + conf.check_python_version((2,6,0)) conf.env.LILV_PYTHON = 1 except: Logs.warn('Failed to configure Python (%s)\n' % sys.exc_info()[1]) -- cgit v1.2.1