From d48ae6de835caa4d40b8606973f7db831386084b Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Sat, 2 Mar 2013 12:26:26 +0200 Subject: [PATCH 08/24] MINGW: setup exclude termios module --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f12302e..5ab480f 100644 --- a/setup.py +++ b/setup.py @@ -1235,7 +1235,7 @@ class PyBuildExt(build_ext): 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 -- 1.7.12.1