Skip to content

Commit

Permalink
naw status message was fine
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Sep 4, 2019
1 parent db79d1c commit 470764f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gpkit/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def build(self):
"Builds a dynamic library to GPKITBUILD or $HOME/.gpkit"
try:
# Testing the import, so the variable is intentionally not used
import ctypesgen # pylint: disable=unused-variable
import ctypesgencore # pylint: disable=unused-variable
except ImportError:
log("## SKIPPING MOSEK INSTALL: CTYPESGENCORE WAS NOT FOUND")
return None
Expand Down Expand Up @@ -281,9 +281,9 @@ def build(self):
" -o "+pathjoin(lib_dir, "expopt_h.py") +
" "+pathjoin(build_dir, "expopt.h"))

# if built_expopt_h != 0:
# log("# FAILED TO BUILD EXPOPT_H")
# return False
if built_expopt_h != 0:
log("# FAILED TO BUILD EXPOPT_H")
return False

return True

Expand Down
2 changes: 1 addition & 1 deletion gpkit/modified_ctypesgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def option_callback_libdir(option, opt, value, parser):
parser.values.compile_libdirs.append(value)
parser.values.runtime_libdirs.append(value)

import ctypesgen as ctypesgencore
import ctypesgencore
import ctypesgencore.messages as msgs

if __name__=="__main__":
Expand Down

0 comments on commit 470764f

Please sign in to comment.