Automatically activate a conda environment when entering a folder with an environment.yml file
Clone or download
Latest commit 0ab80fa Jun 11, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE First commit Jun 6, 2015
README.md Update README.md Jun 11, 2015
conda_auto_env.sh First commit Jun 6, 2015
conda_auto_env_remote.sh First commit Jun 6, 2015

README.md

conda-auto-env

Automatically activate a conda environment when entering a folder with an environment.yml file.

If the environment doesn't exist, conda-auto-env creates it and activates it for you.

This functionality was inspired by conda auto activate, virtualenv auto activate and autoenv.

Install

To install add this line to your .bashrc or .bash-profile:

   source /path/to/conda_auto_env.sh

Remote environments

Alternatively, if you would also like to have support remote anaconda.org environments. Change those instructions to source /path/to/conda_auto_env_remote.sh. To specify a remote environment create an environment-remote.yml file with the name and channel of your environment:

name: pyladies-bokeh
channel: chdoig