cpython: 919259054621 (original) (raw)

Mercurial > cpython

changeset 73763:919259054621

Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw [#13415]

Victor Stinner victor.stinner@haypocalc.com
date Sun, 27 Nov 2011 00:19:53 +0100
parents 37300a1df7d7
children 3a44640682c3
files Lib/test/test_curses.py setup.py
diffstat 2 files changed, 8 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_curses.py 5 setup.py 4

line wrap: on

line diff

--- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -268,7 +268,10 @@ def test_unget_wch(stdscr): if not hasattr(curses, 'unget_wch'): return for ch in ('a', '\xe9', '\u20ac', '\U0010FFFF'):

--- a/setup.py +++ b/setup.py @@ -1173,13 +1173,16 @@ class PyBuildExt(build_ext): # Curses support, requiring the System V version of curses, often # provided by the ncurses library. panel_library = 'panel'

@@ -1202,6 +1205,7 @@ class PyBuildExt(build_ext): if (module_enabled(exts, '_curses') and self.compiler.find_library_file(lib_dirs, panel_library)): exts.append( Extension('_curses_panel', ['_curses_panel.c'],