Python 2 is very near end-of-life, and Python3-compatible changes to a
few scripts introduced compatibility problems with 2.7 again. It went
unnoticed for me since my system symlinks "python" to "python3", but
it broke the build on systems where that symlink is still python2. At
this point in time, I feel it is worth targetting modern Python and
forgetting about 2.7.
The tags are shorthand for the license of each file and avoid
copying the full license text into each one (and avoids having
to manually update the dates in each one...).
Python 3 makes a number of changes to the language and breaks backward
compatibility with Python 2 in some places. This change updates the
Python scripts used in the build system to work with Python 3,
although the updated scripts still run in Python 2 as well. Most of
the changes are minor; the biggest changes are to the palette /
colormap generation scripts.
Signed-off-by: Simon Howard <fraggle@gmail.com>