summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-01 05:26:54 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-01 05:26:54 (GMT)
commit2de7471d69b950a64e52a950675d59d9f4071da1 (patch)
treeee0895b63578725b2e320a9e3bb911d1ada9cce1
parent36154b2dbf10d34eefe24d17516cf1e4cd62b607 (diff)
downloadcpython-2de7471d69b950a64e52a950675d59d9f4071da1.zip
cpython-2de7471d69b950a64e52a950675d59d9f4071da1.tar.gz
cpython-2de7471d69b950a64e52a950675d59d9f4071da1.tar.bz2
Add entries for the weakref module to the build control.
-rw-r--r--Modules/Setup.dist1
-rw-r--r--setup.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index ea76938..bef4939 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -147,6 +147,7 @@ GLHACK=-Dclear=__GLclear
#struct structmodule.c # binary structure packing/unpacking
#time timemodule.c # -lm # time operations and variables
#operator operator.c # operator.add() and similar goodies
+#_weakref _weakref.c # basic weak reference support
#_codecs _codecsmodule.c # access to the builtin codecs and codec registry
#unicodedata unicodedata.c unicodedatabase.c
diff --git a/setup.py b/setup.py
index 0e421c5..22866bb 100644
--- a/setup.py
+++ b/setup.py
@@ -153,6 +153,7 @@ class PyBuildExt(build_ext):
exts.append( Extension('regex', ['regexmodule.c', 'regexpr.c']) )
exts.append( Extension('pcre', ['pcremodule.c', 'pypcre.c']) )
+ exts.append( Extension('_weakref', ['_weakref.c']) )
exts.append( Extension('xreadlines', ['xreadlinesmodule.c']) )
# array objects