Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

tools for building conda packages

Project Description


# Display information about current conda install
conda info

# Install conda-build in the current env
conda install -n root conda-build

Building Your Own Packages

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

To upload to, 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

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

$ conda config --add channels

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


  • `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

The documentation for conda is at You can subscribe to the conda mailing list. The source code and issue tracker for conda are on GitHub.


Contributions to conda-build are always welcome! Please fork the conda/conda-build repository, and submit a PR. If a PR is a work in progress, please put [WIP] in the title. Contributions are expected to pass flake8 and test suites run on Travis CI (linux) and AppVeyor (windows). Contributors also need to have signed our Contributor License Agreement


Running our test suite requires cloning one other repo at the same level as conda-build: - this is necessary for relative path tests outside of conda build’s build tree.

Additionally, you need to install a few extra packages:

conda install pytest pytest-cov mock

The test suite runs with py.test. Some useful commands to run select tests, assuming you are in the conda-build root folder:

Run all tests:

py.test tests

Run one test function:

py.test tests/

Run one parameter of one parametrized test function:

Several tests are parametrized, to run some small change, or build several recipe folders. To choose only one of them:

py.test tests/[entry_points]

Note that our tests use py.test fixtures extensively. These sometimes trip up IDE style checkers about unused or redefined variables. These warnings are safe to ignore.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(235.9 kB) Copy SHA256 Hash SHA256
Wheel py3 Feb 21, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting