[Numpy-svn] r5838 - branches/clean_math_config/numpy/core

numpy-svn@scip... numpy-svn@scip...
Sat Sep 20 04:48:06 CDT 2008


Author: cdavid
Date: 2008-09-20 04:48:01 -0500 (Sat, 20 Sep 2008)
New Revision: 5838

Modified:
   branches/clean_math_config/numpy/core/setup.py
Log:
Test for MSVC, because we will need to special case for this F***** compiler once again.

Modified: branches/clean_math_config/numpy/core/setup.py
===================================================================
--- branches/clean_math_config/numpy/core/setup.py	2008-09-20 08:47:19 UTC (rev 5837)
+++ branches/clean_math_config/numpy/core/setup.py	2008-09-20 09:48:01 UTC (rev 5838)
@@ -63,6 +63,8 @@
     def name_to_defsymb(name):
         return "HAVE_%s" % name.upper()
 
+    use_msvc = config.check_decl("_MSC_VER")
+
     # Mandatory functions: if not found, fail the build
     mandatory_funcs = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs",
                        "floor", "ceil", "sqrt", "log10", "log", "exp", "asin",



More information about the Numpy-svn mailing list