venvstacks.stacks.StackSpec

class venvstacks.stacks.StackSpec(spec_path: Path, runtimes: MutableMapping[LayerBaseName, RuntimeSpec], frameworks: MutableMapping[LayerBaseName, FrameworkSpec], applications: MutableMapping[LayerBaseName, ApplicationSpec], requirements_dir_path: Path)

Layered environment stack specification

Methods

all_environment_specs()

Iterate over the specifications for all defined environments.

define_build_environment([build_dir, ...])

Define layer build environments for this specification

load(fname)

Load stack specification from given TOML file

resolve_lexical_path(related_location, /)

Resolve a path relative to the location of the stack specification

Attributes

spec_path

runtimes

frameworks

applications

requirements_dir_path

build_platform