Skip to content

repo-helper/mkrecipe

Repository files navigation

mkrecipe

A tool to create recipes for building conda packages from distributions on PyPI.

Docs Documentation Build Status Docs Check Status
Tests Linux Test Status Windows Test Status macOS Test Status Coverage
PyPI PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel
Anaconda Conda - Package Version Conda - Platform
Activity GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads
QA CodeFactor Grade Flake8 Status mypy status
Other License GitHub top language Requirements Status

Installation

mkrecipe can be installed from PyPI or Anaconda.

To install with pip:

$ python -m pip install mkrecipe

To install with conda:

  • First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge
$ conda config --add channels https://conda.anaconda.org/domdfcoding
  • Then install
$ conda install mkrecipe

Usage

mkrecipe is configured in pyproject.toml. See the documentation for more information.

mkrecipe can then be run with the mkrecipe command when in the project directory. This will write the conda recipe to ./conda/meta.yaml. The output directory can be customised using the -o / --outfile option.