Bug 791831 - Add python3 support

This switches swig to use python 3 specific features when generating the
bindings, switches the build over to python 3 and makes the neccesary
python 2 to 3 conversions in the bindings and tests.
This commit is contained in:
Julian Wollrath
2018-03-15 09:35:31 +01:00
committed by John Ralls
parent 85ec07ec30
commit a43b115a45
12 changed files with 103 additions and 114 deletions

View File

@@ -75,7 +75,7 @@ macro (gnc_add_swig_python_command _target _out_var _py_out_var _output _py_outp
if (GENERATE_SWIG_WRAPPERS)
set (DEFAULT_SWIG_PYTHON_FLAGS
-python
-python -py3
-Wall -Werror
${SWIG_ARGS}
)