From bc7cbcbc8f45a95dd715aa37ac5a4fc41070ace0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lemburg?= Date: Fri, 2 Feb 2001 12:07:22 +0000 Subject: Added new Python C API _test module to the build mechanism on Unix. --- Modules/Setup.dist | 1 + setup.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Modules/Setup.dist b/Modules/Setup.dist index bef4939..92783cf 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 22866bb..55df4de 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 -- cgit v0.12