diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-18 20:17:48 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-05-18 20:17:48 +0000 |
commit | 6f82e1e9c704daaf398015ecc20892d89e56b259 (patch) | |
tree | 7c3d04682a4dcd7ea50490a1e4cac08f3cf983a8 /numpy/distutils/command/build.py | |
parent | 571f16714fe9c2c744c6563d495dd0aaa47a843b (diff) | |
download | numpy-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.py')
-rw-r--r-- | numpy/distutils/command/build.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/distutils/command/build.py b/numpy/distutils/command/build.py index d30d9f9ca..f74fbde69 100644 --- a/numpy/distutils/command/build.py +++ b/numpy/distutils/command/build.py @@ -5,7 +5,7 @@ from distutils.util import get_platform class build(old_build): - sub_commands = [('config_fc', lambda *args: 1), + sub_commands = [('config_fc', lambda *args: True), ('build_src', old_build.has_ext_modules), ] + old_build.sub_commands @@ -16,3 +16,6 @@ class build(old_build): if build_scripts is None: self.build_scripts = os.path.join(self.build_base, 'scripts' + plat_specifier) + return + +#EOF |