comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/pathccompiler.py @ 87:2a2c65a20a8b

Add Python libs and headers
author Chris Cannam
date Wed, 25 Feb 2015 14:05:22 +0000
parents
children
comparison
equal deleted inserted replaced
86:413a9d26189e 87:2a2c65a20a8b
1 from __future__ import division, absolute_import, print_function
2
3 from distutils.unixccompiler import UnixCCompiler
4
5 class PathScaleCCompiler(UnixCCompiler):
6
7 """
8 PathScale compiler compatible with an gcc built Python.
9 """
10
11 compiler_type = 'pathcc'
12 cc_exe = 'pathcc'
13 cxx_exe = 'pathCC'
14
15 def __init__ (self, verbose=0, dry_run=0, force=0):
16 UnixCCompiler.__init__ (self, verbose, dry_run, force)
17 cc_compiler = self.cc_exe
18 cxx_compiler = self.cxx_exe
19 self.set_executables(compiler=cc_compiler,
20 compiler_so=cc_compiler,
21 compiler_cxx=cxx_compiler,
22 linker_exe=cc_compiler,
23 linker_so=cc_compiler + ' -shared')