Files
MINGW-packages/mingw-w64-python3/0340-MINGW-setup-exclude-termios-module.patch
2014-05-20 01:12:05 +04:00

13 lines
481 B
Diff

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