pep8 cleanup
allow running setup without a qt binding (fixes #195)