[Python-checkins] r69500 - python/trunk/setup.py

mark.dickinson python-checkins at python.org
Tue Feb 10 17:17:16 CET 2009


Author: mark.dickinson
Date: Tue Feb 10 17:17:16 2009
New Revision: 69500

Log:
_testcapi depends on testcapi_long.h

Thanks Lisandro Dalcin.


Modified:
   python/trunk/setup.py

Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Tue Feb 10 17:17:16 2009
@@ -447,7 +447,8 @@
         # _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']) )
         # profilers (_lsprof is for cProfile.py)
         exts.append( Extension('_hotshot', ['_hotshot.c']) )
         exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )


More information about the Python-checkins mailing list