Expose libpath
in venv.EnvBuilder.ensure_directories
return value
#94214
Labels
type-feature
A feature request or enhancement
Feature or enhancement
venv.EnvBuilder.ensure_directories
should setlibpath
as an attribute in the return value.Pitch
Currently, the value is not exposed in any way via the venv API. This means that API users of venv (ahem... pip) need to recompute this information, coupling strongly to the implementation details of this module.
I noticed this as part of working on pip's build isolation logic, which I'm trying to port to venv.
Previous discussion
This hasn't been discussed extensively yet, but I've posted about this on https://discuss.python.org/t/16796/
The text was updated successfully, but these errors were encountered: