[Python-checkins] CVS: python/dist/src setup.py,1.38.2.2,1.38.2.3

Jack Jansen jackjansen@users.sourceforge.net
Thu, 27 Dec 2001 13:51:04 -0800


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

Modified Files:
      Tag: release21-maint
	setup.py 
Log Message:
Don;t build curses on MacOSX 10.1 or later. This is patch 496905, and
Anthony asked me to check it in.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.38.2.2
retrieving revision 1.38.2.3
diff -C2 -d -r1.38.2.2 -r1.38.2.3
*** setup.py	2001/12/05 06:55:46	1.38.2.2
--- setup.py	2001/12/27 21:51:02	1.38.2.3
***************
*** 411,415 ****
              exts.append( Extension('_curses', ['_cursesmodule.c'],
                                     libraries = curses_libs) )
!         elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform != 'darwin1':
          	# OSX has an old Berkeley curses, not good enough for the _curses module.
              if (self.compiler.find_library_file(lib_dirs, 'terminfo')):
--- 411,415 ----
              exts.append( Extension('_curses', ['_cursesmodule.c'],
                                     libraries = curses_libs) )
!         elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform[:6] != 'darwin':
          	# OSX has an old Berkeley curses, not good enough for the _curses module.
              if (self.compiler.find_library_file(lib_dirs, 'terminfo')):