summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-06-12 20:14:08 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-06-12 20:14:08 (GMT)
commit19690593273a5b210a9b9ea72bd59840d02759b0 (patch)
tree2c3c63588e62e5bc3c93c0f49d30e39ee6763c8f /setup.py
parent55bd1efb2ae7b559ac6a89a6f24bb62560eeafcf (diff)
downloadcpython-19690593273a5b210a9b9ea72bd59840d02759b0.zip
cpython-19690593273a5b210a9b9ea72bd59840d02759b0.tar.gz
cpython-19690593273a5b210a9b9ea72bd59840d02759b0.tar.bz2
Issue #6215: backport the 3.1 io lib
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index ff24eec..c2b5efc 100644
--- a/setup.py
+++ b/setup.py
@@ -438,10 +438,11 @@ class PyBuildExt(build_ext):
exts.append( Extension("_heapq", ["_heapqmodule.c"]) )
# operator.add() and similar goodies
exts.append( Extension('operator', ['operator.c']) )
- # Python 3.0 _fileio module
- exts.append( Extension("_fileio", ["_fileio.c"]) )
- # Python 3.0 _bytesio module
- exts.append( Extension("_bytesio", ["_bytesio.c"]) )
+ # Python 3.1 _io library
+ exts.append( Extension("_io",
+ ["_io/bufferedio.c", "_io/bytesio.c", "_io/fileio.c",
+ "_io/iobase.c", "_io/_iomodule.c", "_io/stringio.c", "_io/textio.c"],
+ depends=["_io/_iomodule.h"], include_dirs=["Modules/_io"]))
# _functools
exts.append( Extension("_functools", ["_functoolsmodule.c"]) )
# _json speedups