[Python-checkins] r77350 - python/branches/py3k-cdecimal/setup.py

stefan.krah python-checkins at python.org
Thu Jan 7 15:48:33 CET 2010


Author: stefan.krah
Date: Thu Jan  7 15:48:33 2010
New Revision: 77350

Log:
Add header dependencies.


Modified:
   python/branches/py3k-cdecimal/setup.py

Modified: python/branches/py3k-cdecimal/setup.py
==============================================================================
--- python/branches/py3k-cdecimal/setup.py	(original)
+++ python/branches/py3k-cdecimal/setup.py	Thu Jan  7 15:48:33 2010
@@ -1620,6 +1620,27 @@
           'cdecimal/transpose.c',
           'cdecimal/transpose3.c'
         ]
+        depends = [
+          'cdecimal/basearith.h',
+          'cdecimal/bits.h',
+          'cdecimal/constants.h',
+          'cdecimal/convolute.h',
+          'cdecimal/crt.h',
+          'cdecimal/difradix2.h',
+          'cdecimal/docstrings.h',
+          'cdecimal/fnt.h',
+          'cdecimal/fourstep.h',
+          'cdecimal/memory.h',
+          'cdecimal/mpdecimal.h',
+          'cdecimal/mpdecimal32.h',
+          'cdecimal/mpdecimal64.h',
+          'cdecimal/mptypes.h',
+          'cdecimal/numbertheory.h',
+          'cdecimal/sixstep.h',
+          'cdecimal/transpose.h',
+          'cdecimal/typearith.h',
+          'cdecimal/umodarith.h',
+        ]
         extra_objects = []
         platform = util.get_platform()
         cc = sysconfig.get_config_var('CC')
@@ -1648,7 +1669,8 @@
             undef_macros=['NDEBUG'],
             extra_compile_args=extra_compile_args,
             sources=sources,
-            extra_objects=extra_objects
+            extra_objects=extra_objects,
+            depends=depends
         )
         return ext
 


More information about the Python-checkins mailing list