• Stars
    star
    375
  • Rank 114,096 (Top 3 %)
  • Language
    Python
  • License
    Other
  • Created almost 11 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Commands and tools for building conda packages

conda-build

CI Tests (GitHub Actions) Codecov Status latest release version

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.

More Repositories

1

conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
Python
6,285
star
2

conda-pack

Package conda environments for redistribution
Python
519
star
3

conda-lock

Lightweight lockfile for conda environments
Python
461
star
4

constructor

tool for creating installers from conda packages
Python
453
star
5

conda-docs

Conda documentation
378
star
6

grayskull

Grayskull πŸ’€ - Recipe generator for Conda
Python
306
star
7

rattler

Rust crates to work with the Conda ecosystem.
Rust
260
star
8

conda-libmamba-solver

The libmamba based solver for conda.
Python
188
star
9

pycosat

Python bindings to picosat (a SAT solver)
C
182
star
10

cookiecutter-conda-python

A cookiecutter template for conda packages using Python
Python
102
star
11

menuinst

Cross platform menu item installation
Python
34
star
12

conda-package-handling

Create and extract conda packages of various formats
Python
26
star
13

governance

The Conda & Conda-Incubator Governance Policy
Python
25
star
14

ceps

Conda Enhancement Proposals
19
star
15

conda-verify

Verify conda recipes and packages
Python
17
star
16

conda-prefix-replacement

CPR resuscitates packages in new locations
Python
11
star
17

infrastructure

A repo to report issues and have discussions about the conda infrastructure
Python
11
star
18

conda-index

conda index, formerly part of conda-build. Create channels from collections of packages.
Python
9
star
19

schemas

Conda file formats and schemas
Python
9
star
20

conda-package-streaming

An efficient library to read from new and old format .conda and .tar.bz2 conda packages.
Python
9
star
21

conda-plugin-template

Python
8
star
22

conda-content-trust

Signing and verification tools for conda
Python
7
star
23

conda-benchmarks

Benchmarking the conda project
Python
4
star
24

issue-tracker

A visualization of the issue count of conda org repositories over time.
Python
2
star
25

conda_build_test_recipe

This repo is used for testing conda-build
Python
2
star
26

actions

A collection of custom GitHub Actions for the conda org.
Python
1
star
27

test-cla

1
star
28

communications

Repo to organize conda communications work
1
star
29

conda-standalone

A standalone conda executable built with PyInstaller.
Python
1
star