fixes pyflakes, updates setup.py to be release ready