Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Mar 28, 2024
1 parent b95083a commit 57a82b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,14 +1847,16 @@ def bundle_conda(output, metadata: MetaData, env, stats, **kw):
interpreter = output.get("script_interpreter")
if not interpreter:
interpreter_and_args = guess_interpreter(output["script"])
log.debug("guess_interpreter yielded: %s", interpreter_and_args)
interpreter_and_args[0] = external.find_executable(
interpreter_and_args[0], metadata.config.build_prefix
)
log.debug("find_executable yielded: %s", interpreter_and_args[0])
if not interpreter_and_args[0]:
log.error(
"Did not find an interpreter to run {}, looked for {}".format(
output["script"], interpreter_and_args[0]
)
"Did not find an interpreter to run %s, looked for %s",
output["script"],
interpreter_and_args[0],
)
if (
"system32" in interpreter_and_args[0]
Expand Down

0 comments on commit 57a82b2

Please sign in to comment.