2
from numpy.distutils.fcompiler import FCompiler
4
class NoneFCompiler(FCompiler):
8
executables = {'compiler_f77':['/path/to/nowhere/none'],
9
'compiler_f90':['/path/to/nowhere/none'],
10
'compiler_fix':['/path/to/nowhere/none'],
11
'linker_so':['/path/to/nowhere/none'],
12
'archiver':['/path/to/nowhere/none'],
13
'ranlib':['/path/to/nowhere/none'],
14
'version_cmd':['/path/to/nowhere/none'],
18
if __name__ == '__main__':
19
from distutils import log
21
from numpy.distutils.fcompiler import new_fcompiler
22
compiler = NoneFCompiler()
24
print compiler.get_version()