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 ascompiler
andpin_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.