Skip to content

A conda environment file for uniform environment setup across users.

Notifications You must be signed in to change notification settings

Simoes-Costa-Lab/conda_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conda Setup

A repository containing an automatic installation of two different conda environments (py27 and py37) for easy user setup.

Installation guide (Only first time!)

Clone the repository, make the script executable, and then run it.

git clone https://github.com/Simoes-Costa-Lab/conda_setup/
cd conda_setup
chmod +x ./install.sh
./install.sh

Reload your shell

Update guide

Update the repository, then update the environment.

cd conda_setup
git pull
conda env update -n py37 --file py37environment.yml #can --prune if you want.
conda env update -n py27 --file py27environment.yml

Exporting an update guide

Update packages for each environment

conda update --all
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U 
conda activate py27
conda update --all
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U 

Write out the environment to a file

conda env export -n py37 > py37environment.yml
conda env export -n py27 > py27environment.yml

Then upload this to github, don't forget to update the prefix with $HOME.

About

A conda environment file for uniform environment setup across users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages