diff --git a/Modules/Setup.dist b/Modules/Setup.dist index bef4939e560..92783cfce7d 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -149,6 +149,7 @@ GLHACK=-Dclear=__GLclear #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 +#_test _testmodule.c # Python C API test module #unicodedata unicodedata.c unicodedatabase.c # static Unicode character database diff --git a/setup.py b/setup.py index 22866bb301d..55df4deffa0 100644 --- a/setup.py +++ b/setup.py @@ -174,6 +174,8 @@ class PyBuildExt(build_ext): exts.append( Extension('operator', ['operator.c']) ) # access to the builtin codecs and codec registry exts.append( Extension('_codecs', ['_codecsmodule.c']) ) + # Python C API test module + exts.append( Extension('_test', ['_testmodule.c']) ) # static Unicode character database exts.append( Extension('unicodedata', ['unicodedata.c']) ) # access to ISO C locale support