git_remote_helpers: use 2to3 if building with Python 3
authorJohn Keeping <john@keeping.me.uk>
Sun, 20 Jan 2013 13:15:34 +0000 (13:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jan 2013 03:32:35 +0000 (19:32 -0800)
commit62c814b6b60f5b5605e34c9806d874fe1088d416
tree8595f9eca97346c2cb0b012360a312f5cae52e23
parentfadf8c71510e3ff142afd1ecbc65703d7ff27c8b
git_remote_helpers: use 2to3 if building with Python 3

Using the approach detailed in the Python documentation[1], run 2to3 on
the code as part of the build if building with Python 3.

The code itself requires no changes to convert cleanly.

[1] http://docs.python.org/3.3/howto/pyporting.html#during-installation

Signed-off-by: John Keeping <john@keeping.me.uk>
Acked-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git_remote_helpers/setup.py