From 6c081dd1fc2bce5d9fa9c9a18316d3277737ea28 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 30 Jan 2015 19:48:19 +1100 Subject: [PATCH] * Handle failure when numpy headers are already installed correctly --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 8e9f80a58..a145f119d 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,8 @@ try: shutil.copytree(numpy_headers, path.join(sys.prefix, 'include', 'numpy')) except ImportError: pass +except OSError: + pass def clean(ext):