summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-08-09 07:24:50 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-08-09 07:24:50 (GMT)
commit5c87c1a5a843ab5d09edc279e506b6b8a1c3d3d2 (patch)
treecbfa452162381bb76f01669afc031e2f32e746bd
parent31022301b59bb84a85be13e8da02b898ae07c7fc (diff)
downloadcpython-5c87c1a5a843ab5d09edc279e506b6b8a1c3d3d2.zip
cpython-5c87c1a5a843ab5d09edc279e506b6b8a1c3d3d2.tar.gz
cpython-5c87c1a5a843ab5d09edc279e506b6b8a1c3d3d2.tar.bz2
Fix Issue9545 - Adding _collections to static build.
-rw-r--r--Modules/Setup.dist3
-rw-r--r--setup.py6
2 files changed, 3 insertions, 6 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index bd7128b..c857825 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -113,6 +113,9 @@ _sre _sre.c # Fredrik Lundh's new regular expressions
_codecs _codecsmodule.c # access to the builtin codecs and codec registry
_weakref _weakref.c # weak references
_functools _functoolsmodule.c # Tools for working with functions and callable objects
+operator operator.c # operator.add() and similar goodies
+_collections _collectionsmodule.c # Container types
+itertools itertoolsmodule.c # Functions creating iterators for efficient looping
# access to ISO C locale support
_locale _localemodule.c # -lintl
diff --git a/setup.py b/setup.py
index ac37aa9..4e08eea 100644
--- a/setup.py
+++ b/setup.py
@@ -454,18 +454,12 @@ class PyBuildExt(build_ext):
libraries=math_libs) )
exts.append( Extension('_datetime', ['_datetimemodule.c', '_time.c'],
libraries=math_libs) )
- # fast iterator tools implemented in C
- exts.append( Extension("itertools", ["itertoolsmodule.c"]) )
# random number generator implemented in C
exts.append( Extension("_random", ["_randommodule.c"]) )
- # high-performance collections
- exts.append( Extension("_collections", ["_collectionsmodule.c"]) )
# bisect
exts.append( Extension("_bisect", ["_bisectmodule.c"]) )
# heapq
exts.append( Extension("_heapq", ["_heapqmodule.c"]) )
- # operator.add() and similar goodies
- exts.append( Extension('operator', ['operator.c']) )
# C-optimized pickle replacement
exts.append( Extension("_pickle", ["_pickle.c"]) )
# atexit