Skip to content

Commit c677627

Browse files
authored
Merge pull request #220 from jcrben/patch-1
Be more explicit about `.python-version` file
2 parents 862be21 + 1593b0e commit c677627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ There are two entries for each virtualenv, and the shorter one is just a symlink
129129
Some external tools (e.g. [jedi](https://github.com/davidhalter/jedi)) might
130130
require you to `activate` the virtualenv and `conda` environments.
131131
132-
If `eval "$(pyenv virtualenv-init -)"` is configured in your shell, `pyenv-virtualenv` will automatically activate/deactivate virtualenvs on entering/leaving directories which contain a `.python-version` file that lists a valid virtual environment. `.python-version` files denote local Python versions and can be created and deleted with the [`pyenv local`](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-local) command.
132+
If `eval "$(pyenv virtualenv-init -)"` is configured in your shell, `pyenv-virtualenv` will automatically activate/deactivate virtualenvs on entering/leaving directories which contain a `.python-version` file that contains the name of a valid virtual environment as shown in the output of `pyenv virtualenvs` (e.g., `venv34` or `3.4.3/envs/venv34` in example above) . `.python-version` files are used by pyenv to denote local Python versions and can be created and deleted with the [`pyenv local`](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-local) command.
133133
134134
You can also activate and deactivate a pyenv virtualenv manually:
135135

0 commit comments

Comments
 (0)