h ddlZddlZddlmZddlmZmZddlmZej e Z de dede de d ee f d Z dS) N)Optional)BuildBackendHookCaller HookMissing)runner_with_spinner_messagenamebackendmetadata_directorytempdreturnc|J td|td|d}||5 |||}n?#t $r2}td||Yd}~ddddSd}~wwxYw dddn #1swxYwYn,#t$rtd|YdSwxYwtj ||S)zBuild one InstallRequirement using the PEP 660 build process. Returns path to wheel if successfully built. Otherwise, returns None. NzDestination directory: %szBuilding editable for z (pyproject.toml))r zLCannot build editable %s because the build backend does not have the %s hookzFailed building editable for %s) loggerdebugrsubprocess_runnerbuild_editablererror Exceptionospathjoin)rrr r runner wheel_namees /builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/operations/build/wheel_editable.pybuild_wheel_editabler s  ) ) ) 0%888, r$s KKKKKKKKFFFFFF  8 $ $"+ "+ #"+"+  "+ c] "+"+"+"+"+"+r#