v20140110

This commit is contained in:
Yamashita Yuu
2014-01-10 11:35:19 +09:00
parent 124645e84c
commit fa9950aa5b
2 changed files with 12 additions and 7 deletions

View File

@@ -51,10 +51,10 @@ To create a virtualenv for the Python version use with pyenv, run
`pyenv virtualenv`, specifying the Python version you want and the name
of the virtualenv directory. For example,
$ pyenv virtualenv 2.7.5 my-virtual-env-2.7.5
$ pyenv virtualenv 2.7.6 my-virtual-env-2.7.6
will create a virtualenv based on Python 2.7.5
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.5`.
will create a virtualenv based on Python 2.7.6
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.6`.
### Create virtualenv from current version
@@ -64,7 +64,7 @@ virtualenv will be created with given name based on current
version.
$ pyenv version
3.3.2 (set by /home/yyuu/.pyenv/version)
3.3.3 (set by /home/yyuu/.pyenv/version)
$ pyenv virtualenv venv33
@@ -74,8 +74,8 @@ version.
$ pyenv shell venv27
$ pyenv virtualenvs
* venv27 (created from /home/yyuu/.pyenv/versions/2.7.5)
venv33 (created from /home/yyuu/.pyenv/versions/3.3.2)
* venv27 (created from /home/yyuu/.pyenv/versions/2.7.6)
venv33 (created from /home/yyuu/.pyenv/versions/3.3.3)
### Special environment variables
@@ -97,6 +97,11 @@ You can set certain environment variables to control the pyenv-virtualenv.
## Version History
#### 20140110
* Support environment variables of `EZ_SETUP` and `GET_PIP`.
* Support a short option `-p` of `virtualenv`.
#### 20131216
* Use latest release of setuptools and pip if the version not given via environment variables.

View File

@@ -11,7 +11,7 @@
# -f/--force Install even if the version appears to be installed already
#
PYENV_VIRTUALENV_VERSION="20131216"
PYENV_VIRTUALENV_VERSION="20140110"
set -e
[ -n "$PYENV_DEBUG" ] && set -x