fix package build/install on Python3. bump to v3.1