Add python3 support. Apply Library style form Debian wiki