[Python-checkins] python/dist/src setup.py,1.97,1.98
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 27 Jun 2002 15:06:52 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv8049
Modified Files:
setup.py
Log Message:
More fixes for building MacPython extension modules. It now actually succeeds
in building various modules.
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** setup.py 26 Jun 2002 15:44:30 -0000 1.97
--- setup.py 27 Jun 2002 22:06:49 -0000 1.98
***************
*** 310,317 ****
# fcntl(2) and ioctl(2)
exts.append( Extension('fcntl', ['fcntlmodule.c']) )
! # pwd(3)
! exts.append( Extension('pwd', ['pwdmodule.c']) )
! # grp(3)
! exts.append( Extension('grp', ['grpmodule.c']) )
# posix (UNIX) errno values
exts.append( Extension('errno', ['errnomodule.c']) )
--- 310,318 ----
# fcntl(2) and ioctl(2)
exts.append( Extension('fcntl', ['fcntlmodule.c']) )
! if platform not in ['mac']:
! # pwd(3)
! exts.append( Extension('pwd', ['pwdmodule.c']) )
! # grp(3)
! exts.append( Extension('grp', ['grpmodule.c']) )
# posix (UNIX) errno values
exts.append( Extension('errno', ['errnomodule.c']) )
***************
*** 339,343 ****
# Memory-mapped files (also works on Win32).
! if platform not in ['atheos']:
exts.append( Extension('mmap', ['mmapmodule.c']) )
--- 340,344 ----
# Memory-mapped files (also works on Win32).
! if platform not in ['atheos', 'mac']:
exts.append( Extension('mmap', ['mmapmodule.c']) )
***************
*** 345,350 ****
# enigma-inspired encryption
exts.append( Extension('rotor', ['rotormodule.c']) )
! # syslog daemon interface
! exts.append( Extension('syslog', ['syslogmodule.c']) )
# George Neville-Neil's timing module:
--- 346,352 ----
# enigma-inspired encryption
exts.append( Extension('rotor', ['rotormodule.c']) )
! if platform not in ['mac']:
! # syslog daemon interface
! exts.append( Extension('syslog', ['syslogmodule.c']) )
# George Neville-Neil's timing module:
***************
*** 382,393 ****
library_dirs=['/usr/lib/termcap'],
libraries=readline_libs) )
!
! # crypt module.
!
! if self.compiler.find_library_file(lib_dirs, 'crypt'):
! libs = ['crypt']
! else:
! libs = []
! exts.append( Extension('crypt', ['cryptmodule.c'], libraries=libs) )
# socket(2)
--- 384,395 ----
library_dirs=['/usr/lib/termcap'],
libraries=readline_libs) )
! if platform not in ['mac']:
! # crypt module.
!
! if self.compiler.find_library_file(lib_dirs, 'crypt'):
! libs = ['crypt']
! else:
! libs = []
! exts.append( Extension('crypt', ['cryptmodule.c'], libraries=libs) )
# socket(2)
***************
*** 536,540 ****
# The standard Unix dbm module:
! if platform not in ['cygwin']:
if (self.compiler.find_library_file(lib_dirs, 'ndbm')):
exts.append( Extension('dbm', ['dbmmodule.c'],
--- 538,542 ----
# The standard Unix dbm module:
! if platform not in ['cygwin', 'mac']:
if (self.compiler.find_library_file(lib_dirs, 'ndbm')):
exts.append( Extension('dbm', ['dbmmodule.c'],