diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-09-28 10:32:49 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-09-28 10:32:49 +0000 |
commit | a599dbbab72097dae4d16a571a51d2e4531868c6 (patch) | |
tree | 77eb517f50b7b8ccf27ed016407b398f7555be79 /scipy_distutils/ccompiler.py | |
parent | 28efcb484f542d89ca9098b898b66a40d6711251 (diff) | |
download | numpy-a599dbbab72097dae4d16a571a51d2e4531868c6.tar.gz |
Backporting CCompiler.compiler hacks to Python <=2.2 distutils, fixes scipy issue 188.
Diffstat (limited to 'scipy_distutils/ccompiler.py')
-rw-r--r-- | scipy_distutils/ccompiler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scipy_distutils/ccompiler.py b/scipy_distutils/ccompiler.py index 5d86c5807..b67a75145 100644 --- a/scipy_distutils/ccompiler.py +++ b/scipy_distutils/ccompiler.py @@ -61,6 +61,9 @@ CCompiler.object_filenames = new.instancemethod(CCompiler_object_filenames, def CCompiler_compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None): + # This method is effective only with Python >=2.3 distutils. + # Any changes here should be applied also to fcompiler.compile + # method to support pre Python 2.3 distutils. if not sources: return [] from fcompiler import FCompiler |