The Washington Post has an interesting story on how McCain settled on the Palin pick. According to this story, she was on the short-short list ever since McCain first met with her in February, and (contrary to some speculation) she was fully vetted.
UPDATE: Byron York reports on the McCain campaigns fuller explanation of their process.