Unverified Commit 09648cf6 authored by kiui's avatar kiui Committed by GitHub
Browse files

Update setup.py

parent be0ef22f
...@@ -35,8 +35,8 @@ def find_eigen(min_ver=(3, 3, 0)): ...@@ -35,8 +35,8 @@ def find_eigen(min_ver=(3, 3, 0)):
elif line.startswith(MAJOR_VER_STR): elif line.startswith(MAJOR_VER_STR):
major_ver = int(line[len(MAJOR_VER_STR):]) major_ver = int(line[len(MAJOR_VER_STR):])
elif line.startswith(MINOR_VER_STR): elif line.startswith(MINOR_VER_STR):
minor_ver = int(line[len(MAJOR_VER_STR):]) minor_ver = int(line[len(MINOR_VER_STR):])
if not world_ver or not major_ver or not minor_ver: if world_ver is None or major_ver is None or minor_ver is None:
print('Failed to parse macros file', macros_path) print('Failed to parse macros file', macros_path)
else: else:
ver = (world_ver, major_ver, minor_ver) ver = (world_ver, major_ver, minor_ver)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment