]> granicus.if.org Git - python/commitdiff
Add entries for the weakref module to the build control.
authorFred Drake <fdrake@acm.org>
Thu, 1 Feb 2001 05:26:54 +0000 (05:26 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 1 Feb 2001 05:26:54 +0000 (05:26 +0000)
Modules/Setup.dist
setup.py

index ea76938c0141bb0b6646468f6cca6acb645bff43..bef4939e5600aa499bfe0c9b68933ae4f063663a 100644 (file)
@@ -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
index 0e421c581949c153903630d9089514028de74553..22866bb301dcbca3e2fd3ffa4d6d89b6b23ad3e4 100644 (file)
--- 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