Better release publishing.
Added optional uploading to PyPI.
Formatting.
Better logging.