venvstacks.stacks.StackSpec¶
- class venvstacks.stacks.StackSpec(spec_path: ~pathlib.Path, runtimes: ~typing.MutableMapping[~venvstacks.stacks.LayerBaseName, ~venvstacks.stacks.RuntimeSpec], frameworks: ~typing.MutableMapping[~venvstacks.stacks.LayerBaseName, ~venvstacks.stacks.FrameworkSpec], applications: ~typing.MutableMapping[~venvstacks.stacks.LayerBaseName, ~venvstacks.stacks.ApplicationSpec], requirements_dir_path: ~pathlib.Path, index_config: ~venvstacks.stacks.PackageIndexConfig = <factory>)¶
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[, index_config])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_pathruntimesframeworksapplicationsrequirements_dir_pathbuild_platform