:py:mod:`anod.sandbox` ====================== .. py:module:: anod.sandbox .. autoapi-nested-parse:: Isolated build environments for anod. Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 main/index.rst scripts/index.rst Package Contents ---------------- Classes ~~~~~~~ .. autoapisummary:: anod.sandbox.SandBox Attributes ~~~~~~~~~~ .. autoapisummary:: anod.sandbox.logger .. py:data:: logger .. py:class:: SandBox(root_dir: str) Isolated build environment for Anod operations. .. py:property:: specs_dir :type: str Return where to find anod specification files. .. py:method:: set_default_env() -> None Reset all env variables that can influence the build outcome. .. py:method:: create_dirs() -> None Create all required sandbox directories. .. py:method:: get_build_space(name: str, platform: str | None = None) -> e3.anod.buildspace.BuildSpace Get build space. :param name: build space name :param platform: platform name (if None use the default platform) :return: A BuildSpace object .. py:method:: dump_configuration() -> None Save sandbox configuration to sandbox.yaml metadata file. Stores the command line used to create the sandbox with absolute paths. .. py:method:: get_configuration() -> dict Load sandbox configuration from metadata file. :return: configuration dictionary loaded from sandbox.yaml