Scripts, recipes, and docs for conda packages. Inspired by jdblischak/jdb-conda.
- Clone this repository
git clone https://github.com/aryarm/aryarm-conda.git cd aryarm-conda
- Verify that your
~/.condarc
file contains the following:channels: - conda-forge - bioconda - nodefaults channel_priority: strict
vim ~/.condarc
- Install bioconda-utils in a new environment
conda create -y -n biobuild bioconda-utils
- Activate the new environment
conda activate biobuild
- Build the package
bioconda-utils build --packages PACKAGE
- Install the package in a new environment
conda create -y -n PACKAGE -c file://${CONDA_PREFIX}/conda-bld/ PACKAGE
- Activate the new environment
conda activate PACKAGE
For your convenince, you may consider doing the steps above within a GitHub codespace. This will also allow you to skip steps 1-3. You can then download the built package (located at ${CONDA_PREFIX}/conda-bld/
) from the codespace through the VSCode GUI.
Alternatively, you can skip steps 1-5 by simply forking this repository. This is probably the easiest method because it uses GitHub Actions to do all the work. Any commits to the main
branch or to a pull request will trigger a bot to automatically rebuild packages from changed recipes and publish the built packages as Github Artifacts. (You may need to enable GitHub actions for your fork first.) You can then download an artifact, unzip it, and proceed with the resulting directory of files in place of the ${CONDA_PREFIX}/conda-bld/
path in step 6.