]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix Issue9545 - Adding _collections to static build.
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 07:24:50 +0000 (07:24 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 07:24:50 +0000 (07:24 +0000)
Modules/Setup.dist
setup.py

index bd7128b9c39fb5b03884baa1c5a660b7aaca6324..c857825cf556362b2837e934c4d9c76762a1ac43 100644 (file)
@@ -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
index ac37aa9514733bf0b5c305737d6333ffee3e6f58..4e08eea515616e9bc57790292ba7ee04f67699c6 100644 (file)
--- 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