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 will need to enable GitHub actions for your fork first: Click the Actions tab of your fork of the repository and click "I understand my workflows, go ahead and enable them.") You can then download an artifact, unzip it, and proceed with the path to the resulting directory of files in place of the file://${CONDA_PREFIX}/conda-bld/
path in step 6.