update setup script to make it pypi friendly.