]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 69501 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 16:25:06 +0000 (16:25 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 16:25:06 +0000 (16:25 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69501 | mark.dickinson | 2009-02-10 16:18:22 +0000 (Tue, 10 Feb 2009) | 11 lines

  Merged revisions 69500 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines

    _testcapi depends on testcapi_long.h

    Thanks Lisandro Dalcin.
  ........
................

setup.py

index 27d1fe1570f940b1c104b63e505f5058a8505b3b..82e6a4d00877160d47c9ae7d966c0ebb3f930790 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -448,7 +448,8 @@ class PyBuildExt(build_ext):
         # _json speedups
         exts.append( Extension("_json", ["_json.c"]) )
         # Python C API test module
-        exts.append( Extension('_testcapi', ['_testcapimodule.c']) )
+        exts.append( Extension('_testcapi', ['_testcapimodule.c'],
+                               depends=['testcapi_long.h']) )
         # profiler (_lsprof is for cProfile.py)
         exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )
         # static Unicode character database