Skip to content

Commit

Permalink
Merge pull request pyne#775 from scopatz/npver
Browse files Browse the repository at this point in the history
fix numpy version
  • Loading branch information
katyhuff committed Nov 18, 2015
2 parents e6aeed3 + 9f4ac55 commit 3c2bf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def cleanpypath(path):
def assert_np_version():
low = (1, 8, 0)
v = np.version.short_version
cur = tuple(map(int, v.split('.')))
cur = tuple(map(int, v.split('.')[:2]))
if cur < low:
msg = "numpy version too low! {0} (have) < 1.8.0 (min)".format(v)
raise ValueError(msg)
Expand Down

0 comments on commit 3c2bf70

Please sign in to comment.