Skip to content

Commands and tools for building conda packages

License

Notifications You must be signed in to change notification settings

chenghlee/conda-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • OSError: [Errno 36] File name too long: - This error has been seen on Linux computers with encrypted folders. The solution is to install miniconda or anaconda to a location that is not encrypted. This error occurs because the encrypted form of the path that conda-build creates can be too long.

Getting Help

Contributing

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

About

Commands and tools for building conda packages

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.0%
  • Shell 1.8%
  • Batchfile 1.0%
  • Jupyter Notebook 0.9%
  • HTML 0.5%
  • Jinja 0.4%
  • Other 0.4%