Files
MINGW-packages/mingw-w64-python3/0340-MINGW-setup-exclude-termios-module.patch
2013-12-27 11:17:12 +04:00

13 lines
480 B
Diff

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