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

gregory.p.smith python-checkins at python.org
Tue Jun 6 01:38:17 CEST 2006


Author: gregory.p.smith
Date: Tue Jun  6 01:38:06 2006
New Revision: 46681

Modified:
   python/trunk/setup.py
Log:
add depends = ['md5.h']  to the _md5 module extension for correctness sake.



Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Tue Jun  6 01:38:06 2006
@@ -582,7 +582,9 @@
             # The _md5 module implements the RSA Data Security, Inc. MD5
             # Message-Digest Algorithm, described in RFC 1321.  The
             # necessary files md5.c and md5.h are included here.
-            exts.append( Extension('_md5', ['md5module.c', 'md5.c']) )
+            exts.append( Extension('_md5',
+                            sources = ['md5module.c', 'md5.c'],
+                            depends = ['md5.h']) )
 
         if (openssl_ver < 0x00908000):
             # OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash


More information about the Python-checkins mailing list