venvstacks.stacks.FrameworkEnv¶
- class venvstacks.stacks.FrameworkEnv(_env_spec: LayerSpecBase, build_path: Path, requirements_path: Path, index_config: PackageIndexConfig)¶
Framework layer build environment.
Methods
create_archive
(output_path, target_platform)Create a layer archive for this environment.
create_environment
([clean])Create or update specified environment.
define_archive_build
(output_path, ...[, ...])Define an archive build request for this environment.
export_environment
(output_path[, ...])Locally export this environment.
get_constraint_paths
()Get the lower level layer constraints imposed on this environment.
install_requirements
()Install the locked layer requirements into this environment.
link_base_runtime
(runtime)Link this layered environment to its base runtime environment.
lock_requirements
()Transitively lock the requirements for this environment.
report_python_site_details
()Print the results of running
python -m site
in this environment.request_export
(output_path[, ...])Define a local export request for this environment.
select_operations
([lock, build, publish])Enable the selected operations for this environment.
Attributes
base_runtime
category
env_name
The name of this environment in the build folder.
env_spec
Layer specification for this framework build environment.
install_target
The environment name used for this layer when deployed.
kind
linked_constraints_paths
want_build
want_lock
want_publish
was_built
was_created
build_path
requirements_path
index_config
env_path
pylib_path
dynlib_path
executables_path
python_path
env_lock
base_python_path
tools_python_path
py_version