Skip to content

Commit 913f59d

Browse files
lazkaAlexpuxnaveen521kk
committed
build: build winconsoleio and _testconsole
Co-authored-by: Алексей <alexey.pawlow@gmail.com> Co-authored-by: Naveen M K <naveen521kk@gmail.com>
1 parent 42ef875 commit 913f59d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Modules/Setup.bootstrap.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _tracemalloc _tracemalloc.c
1616
_codecs _codecsmodule.c
1717
_collections _collectionsmodule.c
1818
errno errnomodule.c
19-
_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
19+
_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
2020
itertools itertoolsmodule.c
2121
_sre _sre/sre.c
2222
_thread _threadmodule.c

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,9 @@ def detect_test_extensions(self):
10481048
['_xxtestfuzz/_xxtestfuzz.c', '_xxtestfuzz/fuzzer.c']
10491049
))
10501050

1051+
if MS_WINDOWS:
1052+
self.add(Extension('_testconsole', ['../PC/_testconsole.c']))
1053+
10511054
def detect_readline_curses(self):
10521055
# readline
10531056
readline_termcap_library = ""

0 commit comments

Comments
 (0)