[elbe-devel] elbe & python3
Manuel Traut
manut at linutronix.de
Fri Sep 29 00:11:36 CEST 2017
Hi,
this patch series converts the elbe src into python3 ready code.
It also modifies the debian packaging. Were posible, we generate pyhton and
python3 packages of the elbe modules. So most of the elbe codebase can be
used with python3.
However spyne is not packaged for python3 in debian. So we can't run the
soap module of the elbe-daemon in a python3 interpreter. This is the reason
for the patch, that forces elbe to run within python2.
We also change the debian packagebuild to pybuild. Pybuild scans the code
for unit tests and tries to execute them. Therefore i added some try/catch
around the imports that are not available in python3.
@torbenh: please have a special look at patch 10/10. It's about reading
the various copyright files and writing the content to licence.[txt|xml].
Because python3 is more strict about encoding this is getting harder. We
don't know the encoding of the original files. IMHO we should always treat
the original copyright files as binaries and write them as binary stream
into our files. (But this is not, was the patch actually does, because i
wanted to just convert to python3 and make as less change as posible)
But i think we should do this in a follow-up patch. What do you think?
More information about the elbe-devel
mailing list