summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-21 19:46:24 +0200
committerDavid Robillard <d@drobilla.net>2019-10-21 19:46:24 +0200
commitcf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2 (patch)
treefe0fb28be14509231834c5e87fb6b0f7d6d9cc70
parent0a070e2f6037cdaee3a71f5062ee900d8a0ebf33 (diff)
downloadlilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.tar.gz
lilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.tar.bz2
lilv-cf3fe7857d4b198a58d3cec45d327ab6ea8ac5d2.zip
Build Python bindings by default
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
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])