Yamashita Yuu bc433be75c | 11 роки тому | |
---|---|---|
bin | 11 роки тому | |
libexec/pyenv-virtualenv/1.9.1 | 11 роки тому | |
.gitignore | 11 роки тому | |
LICENSE | 11 роки тому | |
README.md | 11 роки тому | |
install.sh | 11 роки тому |
pyenv-virtualenv is a pyenv plugin
that provides a pyenv virtualenv
command to create virtualenv for Python
on UNIX-like systems.
(NOTICE: If you are an existing user of virtualenvwrapper and you love it, pyenv-virtualenvwrapper may help you to manage your virtualenvs.)
Installing pyenv-virtualenv as a pyenv plugin will give you access to the
pyenv virtualenv
command.
$ 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.
pyenv virtualenv
with pyenvTo 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 --distribute 2.7.3 venv27
virtualenvs will be created into a directory of the same name
under ~/.pyenv/versions
.
You can set certain environment variables to control the pyenv-virtualenv.
PYENV_VIRTUALENV_CACHE_PATH
, if set, specifies a directory to use for
caching downloaded package files.PYENV_VIRTUALENV_SCRIPT_PATH
, if set, specified a directory to use for
storing virtualenv scripts.VIRTUALENV_VERSION
, if set, forces pyenv-virtualenv to use desired
version of virtualenv. If the version has not been installed,
pyenv-virtualenv will try to download it.python-virtualenv
which was no longer used.virtualenv.py
script. (./libexec
-> ./libexec/pyenv-virtualenv/${VIRTUALENV_VERSION}
)virtualenv.py
if desired version has not been installed.--help
and --version
s/python-virtualenv/pyenv-virtualenv/g
pyenv-virtualenv
script is not depending on python-virtualenv
now.
python-virtualenv
will left for compatibility and will not continue for future releases.(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.