[Python-checkins] CVS: python/dist/src setup.py,1.5,1.6

A.M. Kuchling akuchling@users.sourceforge.net
Wed, 17 Jan 2001 14:17:18 -0800


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

Modified Files:
	setup.py 
Log Message:
The signal module has to be compiled statically, so add it to Setup.dist
    and remove support for it from setup.py


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** setup.py	2001/01/17 21:58:00	1.5
--- setup.py	2001/01/17 22:17:16	1.6
***************
*** 54,65 ****
              ext.include_dirs.append( os.path.join(srcdir, './Include') )
              
-         # If the signal module is being compiled, remove the sigcheck.o and
-         # intrcheck.o object files from the archive.
-         if module_enabled(self.extensions, 'signal'):
-             print 'removing sigcheck.o intrcheck.o'
-             ar, library = sysconfig.get_config_vars('AR', 'LIBRARY')
-             cmd = '%s d Modules/%s sigcheck.o intrcheck.o' % (ar, library)
-             os.system(cmd)
-             
          build_ext.build_extensions(self)
  
--- 54,57 ----
***************
*** 82,86 ****
          exts.append( Extension('regex', ['regexmodule.c', 'regexpr.c']) )
          exts.append( Extension('pcre', ['pcremodule.c', 'pypcre.c']) )
-         exts.append( Extension('signal', ['signalmodule.c']) )
          
          exts.append( Extension('xreadlines', ['xreadlinesmodule.c']) )
--- 74,77 ----