paver/paver — pull request #82 by rkruppe (2012-09-28 21:47:01+00:00)
Title: Python3

Python 3 progress so far. Bootstrapping (including setup.py with paver-minilib.zip) and self-hosting works, and the tests pass. But I don't know enough about the more obscure setuptools tasks to test them. Hence this pull request, so you can test features I can't test (e.g. the publish_docs one).
Note that today's path.py throws exceptions on non-existing paths in several methods, whereas the *_p versions do not. This introduces some incomparability, but it's rather easy to fix and IMHO better in the long term.

Two ugly hacks remain, I hope to abolish them next:
- path.py is included (which is fine), but as two copies (one original, one 2to3'd), even though only one works in any given installation. In particular, installing in Python 3 throws a syntax error in path2 (it still works, it just does not compile to bytecode at install time).
- paver.bzr cannot work in Python 3, as far as I can tell, because Bazaar is Python 2 only. Currently I just raise a more helpful ImportError, but of course this breaks sphinx.autodoc for that module.