Files
MINGW-packages/mingw-w64-python3/0340-MINGW-setup-exclude-termios-module.patch
2014-10-11 14:46:25 +01:00

13 lines
480 B
Diff

diff -urN a/setup.py b/setup.py
--- a/setup.py 2014-10-11 14:20:02.180858600 +0100
+++ b/setup.py 2014-10-11 14:20:04.365983600 +0100
@@ -1250,7 +1250,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