coerce into more pythonic form, fix install issue from pypi