PyDocs

Nav

Software Packaging and Distribution

EnvBuilder.ensure_directories

venv

method of EnvBuilder (source) not Androidnot iOSnot WASI
  • EnvBuilder.ensure_directories(env_dir)
Create the directories for the environment.

Returns a context object which holds paths in the environment,
for use by subsequent logic.
Changed in 3.11, 3.12, 3.15
  • 3.11: The venv sysconfig installation scheme is used to construct the paths of the created directories.
  • 3.12: The attribute lib_path was added to the context, and the context object was documented.
  • 3.15: The attribute platlib_path was added to the context.
0 Examples
No examples for venv/EnvBuilder.ensure_directories.
See Also
No see-alsos for venv/EnvBuilder.ensure_directories
0 Notes
No notes for EnvBuilder.ensure_directories