* Handle failure when numpy headers are already installed correctly

This commit is contained in:
Matthew Honnibal 2015-01-30 19:48:19 +11:00
parent 1a7a1c2771
commit 6c081dd1fc
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ try:
shutil.copytree(numpy_headers, path.join(sys.prefix, 'include', 'numpy')) shutil.copytree(numpy_headers, path.join(sys.prefix, 'include', 'numpy'))
except ImportError: except ImportError:
pass pass
except OSError:
pass
def clean(ext): def clean(ext):