diff -Naur a/setup.py b/setup.py --- a/setup.py 2014-05-20 00:55:05.314000000 +0400 +++ b/setup.py 2014-05-20 00:55:15.875200000 +0400 @@ -1242,7 +1242,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