Files
MINGW-packages/mingw-w64-python2/0340-MINGW-setup-exclude-termios-module.patch

13 lines
486 B
Diff

diff -Naur a/setup.py b/setup.py
--- a/setup.py 2014-02-18 09:32:07.191800000 +0400
+++ b/setup.py 2014-02-18 09:32:13.977800000 +0400
@@ -1317,7 +1317,7 @@
missing.append('gdbm')
# Unix-only modules
- if host_platform not in ['win32']:
+ if not host_platform.startswith(('mingw', 'win')):
# Steen Lumholt's termios module
exts.append( Extension('termios', ['termios.c']) )
# Jeremy Hylton's rlimit interface