Skip to content

Commit

Permalink
build: build winconsoleio and _testconsole
Browse files Browse the repository at this point in the history
Co-authored-by: Алексей <[email protected]>
Co-authored-by: Naveen M K <[email protected]>
  • Loading branch information
3 people committed Jul 19, 2023
1 parent 42ef875 commit 913f59d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Setup.bootstrap.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 913f59d

Please sign in to comment.