Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/fcompiler/none.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 numpy.distutils.fcompiler import FCompiler | |
4 | |
5 compilers = ['NoneFCompiler'] | |
6 | |
7 class NoneFCompiler(FCompiler): | |
8 | |
9 compiler_type = 'none' | |
10 description = 'Fake Fortran compiler' | |
11 | |
12 executables = {'compiler_f77': None, | |
13 'compiler_f90': None, | |
14 'compiler_fix': None, | |
15 'linker_so': None, | |
16 'linker_exe': None, | |
17 'archiver': None, | |
18 'ranlib': None, | |
19 'version_cmd': None, | |
20 } | |
21 | |
22 def find_executables(self): | |
23 pass | |
24 | |
25 | |
26 if __name__ == '__main__': | |
27 from distutils import log | |
28 log.set_verbosity(2) | |
29 compiler = NoneFCompiler() | |
30 compiler.customize() | |
31 print(compiler.get_version()) |