diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-06 21:14:41 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-06 21:14:41 +0000 |
commit | 0d5d2277ba7ae30da0762ba396f861ad3f6d50bd (patch) | |
tree | 460f751f7940d3303a44c3c9674504509cb3a9cd /scipy_distutils/fcompiler.py | |
parent | 18900e11d111b51a491e7fbf5769c9acb4bf351f (diff) | |
download | numpy-0d5d2277ba7ae30da0762ba396f861ad3f6d50bd.tar.gz |
Disabled debug messages. On WinXP MSYS defines MSYSTEM instead of OSTYPE.
Diffstat (limited to 'scipy_distutils/fcompiler.py')
-rw-r--r-- | scipy_distutils/fcompiler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scipy_distutils/fcompiler.py b/scipy_distutils/fcompiler.py index eaf1aee13..728ba4c8d 100644 --- a/scipy_distutils/fcompiler.py +++ b/scipy_distutils/fcompiler.py @@ -469,12 +469,12 @@ class FCompiler(CCompiler): def _get_cc_args(self, pp_opts, debug, before): #XXX - print self.__class__.__name__ + '._get_cc_args:',pp_opts, debug, before + #print self.__class__.__name__ + '._get_cc_args:',pp_opts, debug, before return [] def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): """Compile 'src' to product 'obj'.""" - print self.__class__.__name__ + '._compile:',obj, src, ext, cc_args, extra_postargs, pp_opts + #print self.__class__.__name__ + '._compile:',obj, src, ext, cc_args, extra_postargs, pp_opts if is_f_file(src): compiler = self.compiler_f77 @@ -770,8 +770,8 @@ def show_fcompilers(dist = None): v = c.get_version() except DistutilsModuleError: pass - except: - print sys.exc_info()[0],sys.exc_info()[1] + except Exception, msg: + print msg if v is None: compilers_na.append(("fcompiler="+compiler, None, fcompiler_class[compiler][2])) |