diff setup.py @ 21256:fbf68c59d66c legacy-trunk

[Bug #480882] Remove now-pointless check for existence for _curses_panel.c; Bugfix candidate.
author Andrew M. Kuchling <amk@amk.ca>
date Thu, 06 Dec 2001 15:57:16 +0000
parents 803ccbe3ee7c
children cfbe38a03e8c
line wrap: on
line diff
--- a/setup.py	Thu Dec 06 15:48:16 2001 +0000
+++ b/setup.py	Thu Dec 06 15:57:16 2001 +0000
@@ -472,8 +472,7 @@
                                    libraries = curses_libs) )
 
         # If the curses module is enabled, check for the panel module
-        if (os.path.exists('Modules/_curses_panel.c') and
-            module_enabled(exts, '_curses') and
+        if (module_enabled(exts, '_curses') and
             self.compiler.find_library_file(lib_dirs, 'panel')):
             exts.append( Extension('_curses_panel', ['_curses_panel.c'],
                                    libraries = ['panel'] + curses_libs) )