diff options
| author | Dmitry Zagorny <dmitry.zagorny@intel.com> | 2015-09-14 13:06:19 -0500 |
|---|---|---|
| committer | Dmitry Zagorny <dmitry.zagorny@intel.com> | 2015-09-15 14:35:37 +0300 |
| commit | 4287a60ca1a7449063aca75688325bc7f6a5cba4 (patch) | |
| tree | 29a987376a4713f4508321097653030617abe8fb /numpy/distutils/intelccompiler.py | |
| parent | ec97125439b6e0b4fdafba27b95367d38b7fd487 (diff) | |
| download | numpy-4287a60ca1a7449063aca75688325bc7f6a5cba4.tar.gz | |
Align with pep8
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
| -rw-r--r-- | numpy/distutils/intelccompiler.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py index 2635424e3..a1f34e304 100644 --- a/numpy/distutils/intelccompiler.py +++ b/numpy/distutils/intelccompiler.py @@ -3,10 +3,10 @@ from __future__ import division, absolute_import, print_function import platform from distutils.unixccompiler import UnixCCompiler -if platform.system() == 'Windows': - from numpy.distutils.msvc9compiler import MSVCCompiler from numpy.distutils.exec_command import find_executable from numpy.distutils.ccompiler import simple_version_match +if platform.system() == 'Windows': + from numpy.distutils.msvc9compiler import MSVCCompiler class IntelCCompiler(UnixCCompiler): @@ -17,7 +17,8 @@ class IntelCCompiler(UnixCCompiler): def __init__(self, verbose=0, dry_run=0, force=0): UnixCCompiler.__init__(self, verbose, dry_run, force) - self.cc_exe = 'icc -fPIC -fp-model strict -O3 -fomit-frame-pointer -openmp' + self.cc_exe = ('icc -fPIC -fp-model strict -O3 ' + '-fomit-frame-pointer -openmp') compiler = self.cc_exe self.set_executables(compiler=compiler, compiler_so=compiler, @@ -47,7 +48,8 @@ class IntelEM64TCCompiler(UnixCCompiler): def __init__(self, verbose=0, dry_run=0, force=0): UnixCCompiler.__init__(self, verbose, dry_run, force) - self.cc_exe = 'icc -m64 -fPIC -fp-model strict -O3 -fomit-frame-pointer -openmp -xSSE4.2' + self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 ' + '-fomit-frame-pointer -openmp -xSSE4.2') compiler = self.cc_exe self.set_executables(compiler=compiler, compiler_so=compiler, |
