Skip to content

aryarm/aryarm-conda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aryarm-conda

Scripts, recipes, and docs for conda packages. Inspired by jdblischak/jdb-conda.

Build a package in this repository locally

  1. Clone this repository
    git clone https://github.com/aryarm/aryarm-conda.git
    cd aryarm-conda
    
  2. Verify that your ~/.condarc file contains the following:
    channels:
      - conda-forge
      - bioconda
      - nodefaults
    channel_priority: strict
    
    vim ~/.condarc
    
  3. Install bioconda-utils in a new environment
    conda create -y -n biobuild bioconda-utils
    
  4. Activate the new environment
    conda activate biobuild
    
  5. Build the package
    bioconda-utils build --packages PACKAGE
    
  6. Install the package in a new environment
    conda create -y -n PACKAGE -c file://${CONDA_PREFIX}/conda-bld/ PACKAGE
    
  7. Activate the new environment
    conda activate PACKAGE
    

Build a package in this repository in GitHub Codespaces

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.

Build a package in this repository in GitHub Actions (recommended)

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.

About

Scripts, recipes, and docs for conda packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages