restore the setup.py to before the big 0.5.0 merge