# Auto VirtualEnv

Auto-VirtualEnv is a small bash script that automatically initializes a Python virtualenv once you get inside a directory.

## Setup

The first step is to define where your virtualenvs will reside. You will need to create a directory for that and then add it on your startup files (for example, ~/.bashrc). To do that, simply add a line with

export WORKON_HOME=<directory>

where <directory> is the directory for the virtualenvs.

Next step is getting the auto-virtualenv.sh file (really, all you need is that file) and saving somewhere in your disk. Then add the following in the end of your ~/.bashrc:

source <path where auto-virtual.sh is>/auto-virtualenv.sh

And that's it!