summaryrefslogtreecommitdiff
path: root/distutils/command/config_compiler.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-09-14 22:28:28 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-09-14 22:28:28 +0000
commit61b48697e440f76b2337c790ec5ca763cd55200b (patch)
treeda64ece2ba0b6b97deb51c36ca320c64102e9baa /distutils/command/config_compiler.py
parent575d373479c63a42bc4a729a058da31a74e75d3e (diff)
downloadnumpy-61b48697e440f76b2337c790ec5ca763cd55200b.tar.gz
Moving things to live under scipy
Diffstat (limited to 'distutils/command/config_compiler.py')
-rw-r--r--distutils/command/config_compiler.py56
1 files changed, 0 insertions, 56 deletions
diff --git a/distutils/command/config_compiler.py b/distutils/command/config_compiler.py
deleted file mode 100644
index 0db601fc6..000000000
--- a/distutils/command/config_compiler.py
+++ /dev/null
@@ -1,56 +0,0 @@
-
-import sys
-from distutils.core import Command
-
-#XXX: Implement confic_cc for enhancing C/C++ compiler options.
-#XXX: Linker flags
-
-class config_fc(Command):
- """ Distutils command to hold user specified options
- to Fortran compilers.
-
- config_fc command is used by the FCompiler.customize() method.
- """
-
- user_options = [
- ('fcompiler=',None,"specify Fortran compiler type"),
- ('f77exec=', None, "specify F77 compiler command"),
- ('f90exec=', None, "specify F90 compiler command"),
- ('f77flags=',None,"specify F77 compiler flags"),
- ('f90flags=',None,"specify F90 compiler flags"),
- ('opt=',None,"specify optimization flags"),
- ('arch=',None,"specify architecture specific optimization flags"),
- ('debug','g',"compile with debugging information"),
- ('noopt',None,"compile without optimization"),
- ('noarch',None,"compile without arch-dependent optimization"),
- ('help-fcompiler',None,"list available Fortran compilers"),
- ]
-
- boolean_options = ['debug','noopt','noarch','help-fcompiler']
-
- def initialize_options(self):
- self.fcompiler = None
- self.f77exec = None
- self.f90exec = None
- self.f77flags = None
- self.f90flags = None
- self.opt = None
- self.arch = None
- self.debug = None
- self.noopt = None
- self.noarch = None
- self.help_fcompiler = None
- return
-
- def finalize_options(self):
- if self.help_fcompiler:
- from scipy.distutils.fcompiler import show_fcompilers
- show_fcompilers(self.distribution)
- sys.exit()
- return
-
- def run(self):
- # Do nothing.
- return
-
-