modified setup.py for pypi compatibility