anod.sandbox¶
Isolated build environments for anod.
Submodules¶
Package Contents¶
Classes¶
Isolated build environment for Anod operations. |
Attributes¶
- anod.sandbox.logger¶
- class anod.sandbox.SandBox(root_dir: str)¶
Isolated build environment for Anod operations.
- property specs_dir: str¶
Return where to find anod specification files.
- set_default_env() None¶
Reset all env variables that can influence the build outcome.
- create_dirs() None¶
Create all required sandbox directories.
- get_build_space(name: str, platform: str | None = None) e3.anod.buildspace.BuildSpace¶
Get build space.
- Parameters:
name – build space name
platform – platform name (if None use the default platform)
- Returns:
A BuildSpace object
- dump_configuration() None¶
Save sandbox configuration to sandbox.yaml metadata file.
Stores the command line used to create the sandbox with absolute paths.
- get_configuration() dict¶
Load sandbox configuration from metadata file.
- Returns:
configuration dictionary loaded from sandbox.yaml