Fix bug with setup script and squelch a few pylint warnings