Rename buildhtml.py to rst-buildhtml Change paths in documentation to match Debian's. Debian policy recommends not having extensions like .py on script names, and buildhtml seems too generic a name.
make the help message not depend on runtime encoding This message goes into manpage, and we do not want the manpage to misleadingly mention build-time locale there.
Don't copy test suite output to a log. When running the test suite, don't copy stdout and stderr output to a log file, as this would break under LC_ALL=C, PYTHONWARNINGS=d and python3.X.