Futurize for python2/3
All threads resolved!
All threads resolved!
Compare changes
- Boman Romain authored
+ 48
− 35
@@ -5,25 +5,38 @@ default:
@@ -32,26 +45,26 @@ build_no_tlnos:
This merge request brings compatibility for python 3 while ensuring backwards compatibility with python 2.
The future package has been used to futurize the code. Waves can now depend on python3-xxx instead of python-xxx packages.
If python 2 is to be used instead of python 3, proceed with the usual build and add -DUSE_PY3=OFF
to the cmake command line. Note that the additional python-futurize package is required.
Passed on ubuntu18.04 (python 2.7.15 and 3.6.9), debian (gaston, python 2.7), msys2 (python 2.7.16 and 3.8.1)