Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
cubvh
Commits
09648cf6
Unverified
Commit
09648cf6
authored
Apr 17, 2023
by
kiui
Committed by
GitHub
Apr 17, 2023
Browse files
Update setup.py
parent
be0ef22f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup.py
setup.py
+2
-2
No files found.
setup.py
View file @
09648cf6
...
@@ -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
(
M
AJ
OR_VER_STR
):])
minor_ver
=
int
(
line
[
len
(
M
IN
OR_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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment