Fixed python3 support.
Added PYPI deployment.