mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-13 22:13:52 -05:00
update README
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# pyenv-virtualenv (a.k.a. [python-virtualenv](https://github.com/yyuu/python-virtualenv))
|
# pyenv-virtualenv (a.k.a. [python-virtualenv](https://github.com/yyuu/python-virtualenv))
|
||||||
|
|
||||||
pyenv-virtualenv is a [pyenv](https://github.com/yyuu/pyenv) plugin
|
pyenv-virtualenv is a [pyenv](https://github.com/yyuu/pyenv) plugin
|
||||||
that provides an `pyenv virtualenv` command to create virtualenv for Python
|
that provides a `pyenv virtualenv` command to create virtualenv for Python
|
||||||
on UNIX-like systems.
|
on UNIX-like systems.
|
||||||
|
|
||||||
(NOTICE: If you are an existing user of [virtualenvwrapper](http://pypi.python.org/pypi/virtualenvwrapper)
|
(NOTICE: If you are an existing user of [virtualenvwrapper](http://pypi.python.org/pypi/virtualenvwrapper)
|
||||||
@@ -15,9 +15,7 @@ to manage your virtualenvs.)
|
|||||||
Installing pyenv-virtualenv as a pyenv plugin will give you access to the
|
Installing pyenv-virtualenv as a pyenv plugin will give you access to the
|
||||||
`pyenv virtualenv` command.
|
`pyenv virtualenv` command.
|
||||||
|
|
||||||
$ mkdir -p ~/.pyenv/plugins
|
$ git clone git://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
|
||||||
$ cd ~/.pyenv/plugins
|
|
||||||
$ git clone git://github.com/yyuu/pyenv-virtualenv.git
|
|
||||||
|
|
||||||
This will install the latest development version of pyenv-virtualenv into
|
This will install the latest development version of pyenv-virtualenv into
|
||||||
the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you
|
the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ for hook in "${after_hooks[@]}"; do eval "$hook"; done
|
|||||||
|
|
||||||
# Run `pyenv-rehash` after a successful installation.
|
# Run `pyenv-rehash` after a successful installation.
|
||||||
if [ "$STATUS" == "0" ]; then
|
if [ "$STATUS" == "0" ]; then
|
||||||
pyenv rehash
|
pyenv-rehash
|
||||||
else
|
else
|
||||||
cleanup
|
cleanup
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user