Helping you easily switch to a virtualenv
.
Create a python virtual environment as shown below.
$ sh ~/bin/create_virtualenv.sh [YOUR_ENV_NAME]
Put the virtualenv
in a specific directory.
Then, register the path as ENV_PATH
in the source code.
After that make sure to alias connect_virtualenv as shown below.
$ alias .connect='source ~/bin/connect_virtualenv'
Then reconnect the terminal and run alias.
$ .connect
You can select a virtual environment as follows:
All you have to do is put your virtualenv
in a specific directory.