Crate rattler_build

Source
Expand description

rattler-build library.

Modules§

build
The build module contains the code for running the build process for a given Output
cache
Functions to deal with the build cache
console_utils
This module contains utilities for logging and progress bar handling.
hash
Compute the build string / hash info for a given variant
metadata
All the metadata that makes up a recipe file
opt
Command-line options.
package_test
Tests that are run as part of the package build process.
packaging
This module contains the functions to package a conda package from a given output.
rebuild
The rebuild module contains rebuild helper functions.
recipe
The recipe module contains all the logic to parse a recipe file.
recipe_generator
Module for generating recipes for Python (PyPI) or R (CRAN) packages
render
Render the dependencies to a final recipe
script
selectors
Contains the selector config, which is used to render the recipe.
source
Module for fetching sources and applying patches
system_tools
System tools are installed on the system (git, patchelf, install_name_tool, etc.)
tool_configuration
Configuration for the rattler-build tool This is useful when using rattler-build as a library
upload
The upload module provides the package upload functionality.
used_variables
find used variables on a Raw (YAML) recipe This does an initial “prerender” step where we evaluate the Jinja expressions globally based on the variables in the context section of the recipe. This also evaluates any Jinja functions such as compiler and pin_subpackage in a way that we can post-process them as “used variables” more easily later.
utils
Utility functions for working with paths.
variant_config
Functions to read and parse variant configuration files.

Macros§

validate_keys
A special macro to validate keys and assign values to a struct.

Functions§

get_build_output
Returns the output for the build.
get_recipe_path
Returns the recipe path.
get_tool_config
Returns the tool configuration.
rebuild_from_args
Rebuild.
run_build_from_args
Runs build.
run_test_from_args
Runs test.
sort_build_outputs_topologically
Sort the build outputs (recipes) topologically based on their dependencies.
upload_from_args
Upload.