Trying to fix some Python 3 issues
Improve unit tests
Preliminary Python 3 support
Sort out code that detects duplicate calls to install()