diff -urN a/setup.py b/setup.py --- a/setup.py 2013-12-26 18:44:55.228147300 +0000 +++ b/setup.py 2013-12-26 18:44:57.636285000 +0000 @@ -1222,7 +1222,7 @@ missing.append('_gdbm') # Unix-only modules - if host_platform != 'win32': + if not host_platform.startswith(('mingw', 'win')): # Steen Lumholt's termios module exts.append( Extension('termios', ['termios.c']) ) # Jeremy Hylton's rlimit interface