diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2008-03-10 16:56:38 +0000 |
---|---|---|
committer | Matthew Brett <matthew.brett@gmail.com> | 2008-03-10 16:56:38 +0000 |
commit | a804623fdc8c809616dc5c1d5852fa85ed58eb98 (patch) | |
tree | fb18f6a66f81c5abeb5561fc7d1f49ba64e6f554 /numpy | |
parent | 5a6dce26d43cfe96c978a88101bb0c70bca04775 (diff) | |
download | numpy-a804623fdc8c809616dc5c1d5852fa85ed58eb98.tar.gz |
Fixed setting of distutils.[plat]ccompiler.[plat]ccompiler leading to attribute error
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/ccompiler.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index 0c352b964..37793f391 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -390,8 +390,7 @@ ccompiler.gen_lib_options = gen_lib_options for _cc in ['msvc', 'bcpp', 'cygwinc', 'emxc', 'unixc']: _m = sys.modules.get('distutils.'+_cc+'compiler') if _m is not None: - setattr(getattr(_m, _cc+'compiler'), 'gen_lib_options', - gen_lib_options) + setattr(_m, 'gen_lib_options', gen_lib_options) _distutils_gen_preprocess_options = gen_preprocess_options def gen_preprocess_options (macros, include_dirs): |