Skip to content

Commit

Permalink
BLD: add platform check to avoid intel compiler build failure on Linu…
Browse files Browse the repository at this point in the history
…x when importing MSVC
  • Loading branch information
yolanda15 committed Aug 19, 2015
1 parent 84e39ce commit facea22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions numpy/distutils/intelccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from distutils.unixccompiler import UnixCCompiler
from numpy.distutils.exec_command import find_executable
if sys.platform == 'win32':
from distutils.msvc9compiler import MSVCCompiler
from numpy.distutils.ccompiler import simple_version_match


Expand Down Expand Up @@ -58,6 +56,7 @@ def __init__(self, verbose=0, dry_run=0, force=0):


if sys.platform == 'win32':
from distutils.msvc9compiler import MSVCCompiler
class IntelCCompilerW(MSVCCompiler):
"""
A modified Intel compiler on Windows compatible with an MSVC-built Python.
Expand Down

0 comments on commit facea22

Please sign in to comment.