Add manual activation example

This commit is contained in:
danse
2014-06-25 18:41:46 +02:00
parent 877aba8ae7
commit 5168aacdc0

View File

@@ -109,6 +109,11 @@ $ pyenv virtualenvs
Some external tools (e.g. [jedi](https://github.com/davidhalter/jedi)) might require you to `activate` the virtualenv. Some external tools (e.g. [jedi](https://github.com/davidhalter/jedi)) might require you to `activate` the virtualenv.
The `pyenv-virtualenv` will automatically activate/deactivate the virtualenv if the `eval "$(pyenv virtualenv-init -)"` is properly configured in your shell. The `pyenv-virtualenv` will automatically activate/deactivate the virtualenv if the `eval "$(pyenv virtualenv-init -)"` is properly configured in your shell.
You can also activate and deactivate a pyenv virtualenv this way:
pyenv activate <name>
pyenv deactivate
### Special environment variables ### Special environment variables
You can set certain environment variables to control the pyenv-virtualenv. You can set certain environment variables to control the pyenv-virtualenv.