diff setup.py @ 15970:77008f07ce25 legacy-trunk

The signal module has to be compiled statically, so add it to Setup.dist and remove support for it from setup.py
author Andrew M. Kuchling <amk@amk.ca>
date Wed, 17 Jan 2001 22:17:16 +0000
parents dcae3e08d848
children c503fa9b265e
line wrap: on
line diff
--- a/setup.py	Wed Jan 17 22:11:59 2001 +0000
+++ b/setup.py	Wed Jan 17 22:17:16 2001 +0000
@@ -53,14 +53,6 @@
             ext.include_dirs.append( '.' ) # to get config.h
             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)
 
     def detect_modules(self):
@@ -81,7 +73,6 @@
         # Some modules that are normally always on:
         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']) )