make namespace package python3 compatible