conda / conda-build

Commands and tools for building conda packages
https://docs.conda.io/projects/conda-build/
Other
384 stars 424 forks source link
conda conda-build package-management

conda-build

GitHub Scheduled Tests Codecov Status CodSpeed Performance Benchmarks
GitHub Release Anaconda Package conda-forge Package

Installation

# Display information about current conda install
$ conda info

# Install conda-build in the base env
$ conda install -n base conda-build

Building Your Own Packages

You can easily build your own packages for conda, and upload them to anaconda.org, a free service for hosting packages for conda, as well as other package managers. To build a package, create a recipe. See AnacondaRecipes and conda-forge for many example recipes, and conda-build documentation on how to build recipes.

To upload to anaconda.org, create an account. Then, install the anaconda-client and login

$ conda install anaconda-client
$ anaconda login

Then, after you build your recipe

$ conda build <RECIPE_DIR>

you will be prompted to upload to anaconda.org.

To add your anaconda.org channel, or the channel of others to conda so that conda install will find and install their packages, run

$ conda config --add channels https://conda.anaconda.org/<USERNAME>

(replacing USERNAME with the user name of the person whose channel you want to add).

Gotchas/FAQ

Getting Help

Contributing

Contributions to conda-build are welcome. See the contributing documentation for instructions on setting up a development environment.