The city council shall appoint a city manager for a term of one to twenty years and shall fix the city manager's term and compensation by contract. The city manager shall be appointed solely on the basis of that person's executive and administrative qualifications.