The rattler_build_package crate is a library designed for creating conda packages in both .tar.bz2 and .conda formats. It can be used to build packages from existing recipe structures or by manually constructing metadata.
Key capabilities include:
- File Management: Collecting and filtering files for the package.
- Metadata Generation: Automatically generating required conda metadata files such as
about.json, index.json, and paths.json. - Prefix Handling: Detecting and managing prefix placeholders.
- Transformations: Performing file transformations like handling
noarch: python packages or creating symlinks. - Archiving: Creating the final compressed package archives in
.tar.bz2 or .conda formats.