mirror of https://github.com/python/cpython
[Bug #480882] Remove now-pointless check for existence for _curses_panel.c;
Bugfix candidate.
This commit is contained in:
parent
1a48ca8c53
commit
e7ffbb24e8
3
setup.py
3
setup.py
|
@ -472,8 +472,7 @@ class PyBuildExt(build_ext):
|
||||||
libraries = curses_libs) )
|
libraries = curses_libs) )
|
||||||
|
|
||||||
# If the curses module is enabled, check for the panel module
|
# If the curses module is enabled, check for the panel module
|
||||||
if (os.path.exists('Modules/_curses_panel.c') and
|
if (module_enabled(exts, '_curses') and
|
||||||
module_enabled(exts, '_curses') and
|
|
||||||
self.compiler.find_library_file(lib_dirs, 'panel')):
|
self.compiler.find_library_file(lib_dirs, 'panel')):
|
||||||
exts.append( Extension('_curses_panel', ['_curses_panel.c'],
|
exts.append( Extension('_curses_panel', ['_curses_panel.c'],
|
||||||
libraries = ['panel'] + curses_libs) )
|
libraries = ['panel'] + curses_libs) )
|
||||||
|
|
Loading…
Reference in New Issue