From: Fred Drake Date: Thu, 1 Feb 2001 05:26:54 +0000 (+0000) Subject: Add entries for the weakref module to the build control. X-Git-Tag: v2.1a2~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2de7471d69b950a64e52a950675d59d9f4071da1;p=python Add entries for the weakref module to the build control. --- diff --git a/Modules/Setup.dist b/Modules/Setup.dist index ea76938c01..bef4939e56 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 0e421c5819..22866bb301 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