Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
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 onhttps://discuss.python.org/t/16796/