diff setup.py @ 41064:6e1cf4d28af3

Check in Daniel Stutzbach's _fileio.c and test_fileio.py (see SF#1671314) with small tweaks. The io module now uses this instead of its own implementation of the FileIO class, if it can import _fileio.
author Guido van Rossum <guido@python.org>
date Thu, 08 Mar 2007 00:43:48 +0000
parents 32c4897b5d46
children f29f1a8b7869
line wrap: on
line diff
--- a/setup.py	Wed Mar 07 22:59:39 2007 +0000
+++ b/setup.py	Thu Mar 08 00:43:48 2007 +0000
@@ -1037,6 +1037,9 @@
         # Thomas Heller's _ctypes module
         self.detect_ctypes(inc_dirs, lib_dirs)
 
+        # _fileio -- supposedly cross platform
+        exts.append(Extension('_fileio', ['_fileio.c']))
+
         # Platform-specific libraries
         if platform == 'linux2':
             # Linux-specific modules