mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-12 13:33:52 -05:00
v20140110
This commit is contained in:
17
README.md
17
README.md
@@ -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
|
`pyenv virtualenv`, specifying the Python version you want and the name
|
||||||
of the virtualenv directory. For example,
|
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
|
will create a virtualenv based on Python 2.7.6
|
||||||
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.5`.
|
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.6`.
|
||||||
|
|
||||||
|
|
||||||
### Create virtualenv from current version
|
### Create virtualenv from current version
|
||||||
@@ -64,7 +64,7 @@ virtualenv will be created with given name based on current
|
|||||||
version.
|
version.
|
||||||
|
|
||||||
$ pyenv version
|
$ pyenv version
|
||||||
3.3.2 (set by /home/yyuu/.pyenv/version)
|
3.3.3 (set by /home/yyuu/.pyenv/version)
|
||||||
$ pyenv virtualenv venv33
|
$ pyenv virtualenv venv33
|
||||||
|
|
||||||
|
|
||||||
@@ -74,8 +74,8 @@ version.
|
|||||||
|
|
||||||
$ pyenv shell venv27
|
$ pyenv shell venv27
|
||||||
$ pyenv virtualenvs
|
$ pyenv virtualenvs
|
||||||
* venv27 (created from /home/yyuu/.pyenv/versions/2.7.5)
|
* venv27 (created from /home/yyuu/.pyenv/versions/2.7.6)
|
||||||
venv33 (created from /home/yyuu/.pyenv/versions/3.3.2)
|
venv33 (created from /home/yyuu/.pyenv/versions/3.3.3)
|
||||||
|
|
||||||
|
|
||||||
### Special environment variables
|
### Special environment variables
|
||||||
@@ -97,6 +97,11 @@ You can set certain environment variables to control the pyenv-virtualenv.
|
|||||||
|
|
||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
#### 20140110
|
||||||
|
|
||||||
|
* Support environment variables of `EZ_SETUP` and `GET_PIP`.
|
||||||
|
* Support a short option `-p` of `virtualenv`.
|
||||||
|
|
||||||
#### 20131216
|
#### 20131216
|
||||||
|
|
||||||
* Use latest release of setuptools and pip if the version not given via environment variables.
|
* Use latest release of setuptools and pip if the version not given via environment variables.
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# -f/--force Install even if the version appears to be installed already
|
# -f/--force Install even if the version appears to be installed already
|
||||||
#
|
#
|
||||||
|
|
||||||
PYENV_VIRTUALENV_VERSION="20131216"
|
PYENV_VIRTUALENV_VERSION="20140110"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|||||||
Reference in New Issue
Block a user