diff options
author | David Robillard <d@drobilla.net> | 2019-10-21 19:46:24 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-21 19:46:24 +0200 |
commit | cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2 (patch) | |
tree | fe0fb28be14509231834c5e87fb6b0f7d6d9cc70 | |
parent | 0a070e2f6037cdaee3a71f5062ee900d8a0ebf33 (diff) | |
download | lilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.tar.gz lilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.tar.bz2 lilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.zip |
Build Python bindings by default
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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]) |