summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/none.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-05-25 11:41:16 +0000
committercookedm <cookedm@localhost>2007-05-25 11:41:16 +0000
commit5267b3e16654ef326f525fdb9a1287a88396c616 (patch)
tree9e7137815415c08577f5451266cdc70f7caa3ea7 /numpy/distutils/fcompiler/none.py
parentd11dbc78c0df5055a6ed57285775cc18dbe1721a (diff)
downloadnumpy-5267b3e16654ef326f525fdb9a1287a88396c616.tar.gz
merge from distutils-revamp branch (step 2)
- fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables
Diffstat (limited to 'numpy/distutils/fcompiler/none.py')
-rw-r--r--numpy/distutils/fcompiler/none.py21
1 files changed, 14 insertions, 7 deletions
diff --git a/numpy/distutils/fcompiler/none.py b/numpy/distutils/fcompiler/none.py
index c38b9f1ac..e80613883 100644
--- a/numpy/distutils/fcompiler/none.py
+++ b/numpy/distutils/fcompiler/none.py
@@ -1,19 +1,26 @@
from numpy.distutils.fcompiler import FCompiler
+compilers = ['NoneFCompiler']
+
class NoneFCompiler(FCompiler):
compiler_type = 'none'
+ description = 'Fake Fortran compiler'
- 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'],
+ executables = {'compiler_f77' : None,
+ 'compiler_f90' : None,
+ 'compiler_fix' : None,
+ 'linker_so' : None,
+ 'linker_exe' : None,
+ 'archiver' : None,
+ 'ranlib' : None,
+ 'version_cmd' : None,
}
+ def find_executables(self):
+ pass
+
if __name__ == '__main__':
from distutils import log