pub fn resolve_worker_script(
venv_path: &Path,
relative: &str,
) -> Result<PathBuf, HostError>Expand description
Resolve worker.py inside a venv’s site-packages.
The worker ships with the cpex framework, which the plugin’s requirements
pull into the venv — so the host does not carry its own copy. Both
lib/pythonX.Y/site-packages (Unix) and Lib/site-packages (Windows) are
searched because the interpreter version is not known up front.