summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-05-18 20:17:48 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-05-18 20:17:48 +0000
commit6f82e1e9c704daaf398015ecc20892d89e56b259 (patch)
tree7c3d04682a4dcd7ea50490a1e4cac08f3cf983a8 /numpy/distutils/command/build_ext.py
parent571f16714fe9c2c744c6563d495dd0aaa47a843b (diff)
downloadnumpy-6f82e1e9c704daaf398015ecc20892d89e56b259.tar.gz
unify config_fc, build_clib, build_ext commands --fcompiler options so that --fcompiler can be specified only once in a command line
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r--numpy/distutils/command/build_ext.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index 78e360ba6..e85b060d0 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -38,9 +38,7 @@ class build_ext (old_build_ext):
incl_dirs = self.include_dirs
old_build_ext.finalize_options(self)
if incl_dirs is not None:
- self.include_dirs.extend(self.distribution.include_dirs or [])
- self.set_undefined_options('config_fc',
- ('fcompiler', 'fcompiler'))
+ self.include_dirs.extend(self.distribution.include_dirs or [])
return
def run(self):
@@ -224,7 +222,6 @@ class build_ext (old_build_ext):
modpath = string.split(fullname, '.')
package = string.join(modpath[0:-1], '.')
base = modpath[-1]
-
build_py = self.get_finalized_command('build_py')
package_dir = build_py.get_package_dir(package)
ext_filename = os.path.join(package_dir,