venvstacks.stacks.LayerSpecBase¶
- class venvstacks.stacks.LayerSpecBase(*, name: ~venvstacks.stacks.LayerBaseName, versioned: bool, requirements: list[str], platforms: list[~venvstacks.stacks.TargetPlatforms], package_indexes: dict[~packaging.utils.NormalizedName, str], priority_indexes: list[str], dynlib_exclude: list[str], _index_config: ~venvstacks.stacks.PackageIndexConfig = <factory>)¶
Common base class for layer environment specifications.
Methods
get_requirements_fname
(platform)Locked requirements file name for this layer specification.
get_requirements_path
(platform, requirements_dir)Full path of locked requirements file for this layer specification.
Attributes
ENV_PREFIX
category
env_name
Build environment name for this layer specification.
kind
name
versioned
requirements
platforms