diff options
Diffstat (limited to 'fcompiler/none.py')
-rw-r--r-- | fcompiler/none.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fcompiler/none.py b/fcompiler/none.py new file mode 100644 index 000000000..c38b9f1ac --- /dev/null +++ b/fcompiler/none.py @@ -0,0 +1,24 @@ + +from numpy.distutils.fcompiler import FCompiler + +class NoneFCompiler(FCompiler): + + compiler_type = 'none' + + executables = {'compiler_f77':['/path/to/nowhere/none'], + 'compiler_f90':['/path/to/nowhere/none'], + 'compiler_fix':['/path/to/nowhere/none'], + 'linker_so':['/path/to/nowhere/none'], + 'archiver':['/path/to/nowhere/none'], + 'ranlib':['/path/to/nowhere/none'], + 'version_cmd':['/path/to/nowhere/none'], + } + + +if __name__ == '__main__': + from distutils import log + log.set_verbosity(2) + from numpy.distutils.fcompiler import new_fcompiler + compiler = NoneFCompiler() + compiler.customize() + print compiler.get_version() |