From 2de7471d69b950a64e52a950675d59d9f4071da1 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 1 Feb 2001 05:26:54 +0000 Subject: Add entries for the weakref module to the build control. --- Modules/Setup.dist | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v0.12