message: Define cmp() in Python 3
  Related to
  __cmp()__ was removed in Python 3 so redefine it in accordance with
diff: @@ -17,6 +17,14 @@ try:
  except NameError:
  pass
  +try:
  + cmp
  +except NameError:
  +
  + def cmp(x, y):
  + return (x > y) - (x < y)
  +
  +
  TOOLS_DIR = os.path.dirname(os.path.realpath(__file__))
  # Single line comments: // comment OR /* comment */
  