diff options
Diffstat (limited to 'numpy/distutils/__init__.py')
-rw-r--r-- | numpy/distutils/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/distutils/__init__.py b/numpy/distutils/__init__.py index 602a3d117..0450334ff 100644 --- a/numpy/distutils/__init__.py +++ b/numpy/distutils/__init__.py @@ -21,3 +21,15 @@ try: test = _numpy_tester().test except ImportError: pass + + +def customized_fcompiler(plat=None, compiler=None): + from numpy.distutils.fcompiler import new_fcompiler + c = new_fcompiler(plat=plat, compiler=compiler) + c.customize() + return c + +def customized_ccompiler(plat=None, compiler=None): + c = ccompiler.new_compiler(plat=plat, compiler=compiler) + c.customize('') + return c |