summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-02-02 12:07:22 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-02-02 12:07:22 (GMT)
commitbc7cbcbc8f45a95dd715aa37ac5a4fc41070ace0 (patch)
tree538dcc2e57ceb224b0498e90d7c568f030920ec3
parent4d282decbe34aff2282aefd7e2c35ad463cbc198 (diff)
downloadcpython-bc7cbcbc8f45a95dd715aa37ac5a4fc41070ace0.zip
cpython-bc7cbcbc8f45a95dd715aa37ac5a4fc41070ace0.tar.gz
cpython-bc7cbcbc8f45a95dd715aa37ac5a4fc41070ace0.tar.bz2
Added new Python C API _test module to the build mechanism on Unix.
-rw-r--r--Modules/Setup.dist1
-rw-r--r--setup.py2
2 files changed, 3 insertions, 0 deletions
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