From: Paul Brossier Date: Sun, 1 Oct 2017 01:26:16 +0000 (+0200) Subject: wscript: py3 compat X-Git-Tag: 0.4.6~9^2 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=873646d8f50043a89648a59bbbf4aa499a64790c;p=aubio.git wscript: py3 compat --- diff --git a/wscript b/wscript index 2822e5dd..21498b66 100644 --- a/wscript +++ b/wscript @@ -246,7 +246,7 @@ def configure(ctx): # tell emscripten functions we want to expose from python.lib.gen_external import get_c_declarations, get_cpp_objects_from_c_declarations, get_all_func_names_from_lib, generate_lib_from_c_declarations c_decls = get_c_declarations(usedouble=False) # emscripten can't use double - objects = get_cpp_objects_from_c_declarations(c_decls) + objects = list(get_cpp_objects_from_c_declarations(c_decls)) # ensure that aubio structs are exported objects += ['fvec_t', 'cvec_t', 'fmat_t'] lib = generate_lib_from_c_declarations(objects, c_decls)