mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
committed by
John Ralls
parent
85ec07ec30
commit
a43b115a45
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user