annotate DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/pathccompiler.py @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2a2c65a20a8b
children
rev   line source
Chris@87 1 from __future__ import division, absolute_import, print_function
Chris@87 2
Chris@87 3 from distutils.unixccompiler import UnixCCompiler
Chris@87 4
Chris@87 5 class PathScaleCCompiler(UnixCCompiler):
Chris@87 6
Chris@87 7 """
Chris@87 8 PathScale compiler compatible with an gcc built Python.
Chris@87 9 """
Chris@87 10
Chris@87 11 compiler_type = 'pathcc'
Chris@87 12 cc_exe = 'pathcc'
Chris@87 13 cxx_exe = 'pathCC'
Chris@87 14
Chris@87 15 def __init__ (self, verbose=0, dry_run=0, force=0):
Chris@87 16 UnixCCompiler.__init__ (self, verbose, dry_run, force)
Chris@87 17 cc_compiler = self.cc_exe
Chris@87 18 cxx_compiler = self.cxx_exe
Chris@87 19 self.set_executables(compiler=cc_compiler,
Chris@87 20 compiler_so=cc_compiler,
Chris@87 21 compiler_cxx=cxx_compiler,
Chris@87 22 linker_exe=cc_compiler,
Chris@87 23 linker_so=cc_compiler + ' -shared')