summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDmitry Zagorny <dmitry.zagorny@intel.com>2015-09-14 13:06:19 -0500
committerDmitry Zagorny <dmitry.zagorny@intel.com>2015-09-15 14:35:37 +0300
commit4287a60ca1a7449063aca75688325bc7f6a5cba4 (patch)
tree29a987376a4713f4508321097653030617abe8fb /numpy
parentec97125439b6e0b4fdafba27b95367d38b7fd487 (diff)
downloadnumpy-4287a60ca1a7449063aca75688325bc7f6a5cba4.tar.gz
Align with pep8
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/intelccompiler.py10
-rw-r--r--numpy/distutils/msvc9compiler.py3
2 files changed, 8 insertions, 5 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,
diff --git a/numpy/distutils/msvc9compiler.py b/numpy/distutils/msvc9compiler.py
index c60826de9..5ccff57a8 100644
--- a/numpy/distutils/msvc9compiler.py
+++ b/numpy/distutils/msvc9compiler.py
@@ -18,4 +18,5 @@ class MSVCCompiler(distutils_MSVCCompiler):
def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
ld_args.append('/MANIFEST')
- distutils_MSVCCompiler.manifest_setup_ldargs(self, output_filename, build_temp, ld_args)
+ distutils_MSVCCompiler.manifest_setup_ldargs(self, output_filename,
+ build_temp, ld_args)