Our tool "rattler-build" turns a well-specified YAML recipe file and creates a standard Conda package from it. It's much faster than conda-build.
rattler-build uses a simple, yet powerful recipe format based on YAML. It is always guaranteed to be parseable as YAML and easily scriptable. For more control, you can also use the Python interface to rattler-build.
rattler-build natively integrates with Github Actions and produces summary files. We make it easy to run entire package distributions from a single, short Github workflow – the heavy lifting is done by rattler-build.
We designed rattler-build to allow for perfect reproducibility – for nerds who want extra security. We set the $SOURCE_DATE_EPOCH variable and all the other tricks from https://reproducible-builds.org.
:focal(smart))
:focal(smart))
package:
name: python
version: 3.14.0a7
source:
- url: https://github.com/python/cpython/archive/refs/tags/v3.14.0a7.tar.gz
sha256: ad83cda00a8a30adbad263d8e25455397be0641ded65d731b78ec178ed74570c
build:
script:
- export LDFLAGS="-headerpad_max_install_names $LDFLAGS"
- ./configure --enable-shared --prefix $PREFIX
- make -j${CPU_COUNT}
- make install
requirements:
build:
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}
- make
- libtool
- pkg-config
- llvm-tools
- python 3.13.*