diff --git a/Modules/Setup.bootstrap.in b/Modules/Setup.bootstrap.in index a781a06c6cee6b..6986290fb0f2f3 100644 --- a/Modules/Setup.bootstrap.in +++ b/Modules/Setup.bootstrap.in @@ -16,7 +16,7 @@ _tracemalloc _tracemalloc.c _codecs _codecsmodule.c _collections _collectionsmodule.c errno errnomodule.c -_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c +_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c _io/winconsoleio.c itertools itertoolsmodule.c _sre _sre/sre.c _thread _threadmodule.c diff --git a/setup.py b/setup.py index 22535e6b880d99..ad9c96d7419883 100644 --- a/setup.py +++ b/setup.py @@ -1048,6 +1048,9 @@ def detect_test_extensions(self): ['_xxtestfuzz/_xxtestfuzz.c', '_xxtestfuzz/fuzzer.c'] )) + if MS_WINDOWS: + self.add(Extension('_testconsole', ['../PC/_testconsole.c'])) + def detect_readline_curses(self): # readline readline_termcap_library = ""