editing to make PyPI compatible