def get_legacy_build_wheel_path(<EOL>names,  <EOL>temp_dir,  <EOL>req,  <EOL>command_args,  <EOL>command_output,  <EOL>):<EOL>
<EOL>names = sorted(names)<EOL>if not names:<EOL><INDENT>msg = (<EOL>'<STR_LIT>'<EOL>).format(req.name)<EOL>msg += format_command(command_args, command_output)<EOL>logger.warning(msg)<EOL>return None<EOL><DEDENT>if len(names) > <NUM_LIT:1>:<EOL><INDENT>msg = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>).format(req.name, names)<EOL>msg += format_command(command_args, command_output)<EOL>logger.warning(msg)<EOL><DEDENT>return os.path.join(temp_dir, names[<NUM_LIT:0>])<EOL>
Return the path to the wheel in the temporary build directory.