Make setup script more in line with modern python conventions.