Skip to content

Commit

Permalink
Print error in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bonfus committed Sep 5, 2024
1 parent 6816e87 commit f48a486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
try:
from numpy import get_include as numpy_get_include
numpy_include_dir = [numpy_get_include()]
except:
except Exception as e:
numpy_include_dir = []
print("Warning: could not add numpy include dir.")
print("Warning: could not add numpy include dir.", e)

# Ugly hack to set compiler flags
COMPILE_ARGS = {'msvc':[],'gcc':[],'unix':[]}
Expand Down

0 comments on commit f48a486

Please sign in to comment.