diff options
author | David Robillard <d@drobilla.net> | 2011-02-12 17:08:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-12 17:08:08 +0000 |
commit | a4b1d7318f7cfc752ac3a8858006c0d6c796553e (patch) | |
tree | f22120f51ae692040561aa5ff0095805ca705a2d /wscript | |
parent | 7dd771da2752cb3d012575869d905ba1f77697bf (diff) | |
download | lilv-a4b1d7318f7cfc752ac3a8858006c0d6c796553e.tar.gz lilv-a4b1d7318f7cfc752ac3a8858006c0d6c796553e.tar.bz2 lilv-a4b1d7318f7cfc752ac3a8858006c0d6c796553e.zip |
Install python bindings.
Automating python pretty-printing for Value.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2941 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -241,13 +241,17 @@ def build(bld): if bld.env['SLV2_SWIG']: # Python Wrapper - bld( + obj = bld( features = 'cxx cxxshlib pyext', source = 'swig/slv2.i', target = 'swig/_slv2', + includes = ['..'], swig_flags = '-c++ -python -Wall -I.. -lslv2 -features autodoc=1', vnum = SLV2_LIB_VERSION, use = 'libslv2') + autowaf.use_lib(bld, obj, 'SLV2') + + bld.install_files('${PYTHONDIR}', 'swig/slv2.py') bld.add_post_fun(autowaf.run_ldconfig) |