Some useful conda recipes we use in the ASEEC Lab at UC Davis.
To build a recipe you must have conda
and conda-build
.
For the former, I suggest installing Miniconda3.
Once you have installed conda
, create a new environment for builds with the following command:
conda create -n build -c conda-forge conda-build
conda activate build
Then, to build a recipe, go to the parent directory of the recipe you want to build, and run the following:
(export CONDA_BLD_PATH=<build-path> ; conda-build <recipe-dir>)
Note: if CONDA_BLD_PATH
is not specified, the package tarbell will be installed somewhere in your conda root directory depending on the active environment.
After the tarbell is generated (it will be in the folder specified by CONDA_BLD_PATH
), you can install it to your active environment using:
conda install <path/to/package/tarbell>
But honestly one of the best ways is to look at existing recipes.
Some nice examples:
- memfault recipes
- conda-forge (somewhat daunting)