[Python-checkins] CVS: python/dist/src setup.py,1.66,1.67

A.M. Kuchling akuchling@users.sourceforge.net
Thu, 06 Dec 2001 07:57:19 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv30525

Modified Files:
	setup.py 
Log Message:
[Bug #480882] Remove now-pointless check for existence for _curses_panel.c;
Bugfix candidate.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** setup.py	2001/12/05 15:54:29	1.66
--- setup.py	2001/12/06 15:57:16	1.67
***************
*** 473,478 ****
  
          # 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
              self.compiler.find_library_file(lib_dirs, 'panel')):
              exts.append( Extension('_curses_panel', ['_curses_panel.c'],
--- 473,477 ----
  
          # If the curses module is enabled, check for the panel module
!         if (module_enabled(exts, '_curses') and
              self.compiler.find_library_file(lib_dirs, 'panel')):
              exts.append( Extension('_curses_panel', ['_curses_panel.c'],