It's not anything you're doing wrong. Historically, Python used to use
string-based exceptions, and these no longer work as of Python 2.6.
Fortunately you only need to change the raise statement at line 21 in
setup.py to raise a class-based exception. The bad news is, adns-
python has never been used on Windows, which is why an exception was
being raised in the first place. It appears someone has ported it to
Windows, which is news to me:
http://adns.jgaa.com/
Still, this means you are in uncharted territory, as far as I know. In
principle, it should be able to compiled on Windows now, but it needs
a new (or modified) setup.py.