[Python-checkins] r83876 - in python/branches/py3k: Modules/Setup.dist setup.py

senthil.kumaran python-checkins at python.org
Mon Aug 9 09:24:50 CEST 2010


Author: senthil.kumaran
Date: Mon Aug  9 09:24:50 2010
New Revision: 83876

Log:
Fix Issue9545  - Adding _collections to static build.



Modified:
   python/branches/py3k/Modules/Setup.dist
   python/branches/py3k/setup.py

Modified: python/branches/py3k/Modules/Setup.dist
==============================================================================
--- python/branches/py3k/Modules/Setup.dist	(original)
+++ python/branches/py3k/Modules/Setup.dist	Mon Aug  9 09:24:50 2010
@@ -113,6 +113,9 @@
 _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

Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py	(original)
+++ python/branches/py3k/setup.py	Mon Aug  9 09:24:50 2010
@@ -454,18 +454,12 @@
                                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


More information about the Python-checkins mailing list