From 99de2882e33d402cc9e95b9af0c9faa805c4ebc5 Mon Sep 17 00:00:00 2001 From: Michael Dunn Date: Tue, 3 Sep 2013 17:10:23 -0400 Subject: [PATCH 1/2] Update README.md Make it explicit that the 'installing as a plugin' section is assuming that you've installed pyenv in the standard location and what to do if you've done something else. Clarify the language a little bit about checking out a specific release vs. pulling the current development version. --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34a970b..3357523 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,13 @@ Installing pyenv-virtualenv as a pyenv plugin will give you access to the $ git clone git://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv This will install the latest development version of pyenv-virtualenv into -the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you -can check out a specific release tag. To update pyenv-virtualenv, run `git -pull` to download the latest changes. +the `~/.pyenv/plugins/pyenv-virtualenv` directory. +**Important note:** If you installed pyenv into a non-standard directory, make sure that you clone this +repo into the 'plugins' directory of wherever you installed into. + +From inside that directory you can: + - Check out a specific release tag. + - Get the latest development release by running `git pull` to download the latest changes. ### Installing with Homebrew (for OS X users) From 32bfce2e4146dd0e4f5fbdb30600378edd71d84e Mon Sep 17 00:00:00 2001 From: Michael Dunn Date: Tue, 3 Sep 2013 17:15:53 -0400 Subject: [PATCH 2/2] Update 'Using `pyenv virtualenv` with pyenv' section. Explicitly define the parameters that you pass into 'pyenv virtualenv' and what they stand for. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3357523..78a2c80 100644 --- a/README.md +++ b/README.md @@ -48,13 +48,13 @@ Or, if you would like to install the latest development release: ### Using `pyenv virtualenv` with pyenv To create a virtualenv for the Python version use with pyenv, run -`pyenv virtualenv` with tha exact name of the version you want to create -virtualenv. For example, +`pyenv virtualenv`, specifying the Python version you want and the name +of the virtualenv directory. For example, - $ pyenv virtualenv 2.7.5 venv27 + $ pyenv virtualenv 2.7.5 my-virtual-env-2.7.5 -virtualenvs will be created into a directory of the same name -under `~/.pyenv/versions`. +will create a virtualenv based on Python 2.7.5 +under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.5`. ### Create virtualenv from current version