summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorKonstantinos Psychas <kpsychas@gmail.com>2016-01-08 22:49:00 -0500
committerKonstantinos Psychas <kpsychas@gmail.com>2016-01-08 22:49:00 -0500
commitf54ed5d5ebaada0a214076977cc6c11484edd099 (patch)
tree3ba552c12f30a412fb2ac3b6dc6d5a712a3599f6 /numpy/core/setup_common.py
parentfd1d7deb1b8bd23ba59f2486c362125c17875946 (diff)
downloadnumpy-f54ed5d5ebaada0a214076977cc6c11484edd099.tar.gz
fix for windows
Related Issue http://stackoverflow.com/questions/33886558/numpy-installation-error-mingw32ccompiler-instance-has-no-attribute-compile-o
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index e0cb3f630..57ddf3396 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -192,7 +192,7 @@ def check_long_double_representation(cmd):
if sys.platform == "win32" and not mingw32():
try:
cmd.compiler.compile_options.remove("/GL")
- except ValueError:
+ except (AttributeError, ValueError):
pass
# We need to use _compile because we need the object filename