Skip to content

rattler-build generate-recipe pypi#

Generate a recipe for a Python package from PyPI

Usage#

rattler-build generate-recipe pypi [OPTIONS] <PACKAGE>

Arguments#

  • <PACKAGE>
    Name of the package to generate
    required: true

Options#

  • --version <VERSION>
    Select a version of the package to generate (defaults to latest)
  • --write (-w)
    Whether to write the recipe to a folder
  • --use-mapping (-u)
    Whether to use the conda-forge PyPI name mapping
    default: true
  • --tree (-t)
    Whether to generate recipes for all dependencies
  • --pypi-index-url <PYPI_INDEX_URLS>
    Specify the PyPI index URL(s) to use for recipe generation
    May be provided more than once.
    env: RATTLER_BUILD_PYPI_INDEX_URL
    default: https://pypi.org/pypi