Explorar el Código

Enhance documentation about options for `pyenv virtualenv` (#425)

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
pull/377/head
P M hace 1 año
cometido por GitHub
padre
commit
177eb67af3
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 2 ficheros con 8 adiciones y 1 borrados
  1. +3
    -0
      README.md
  2. +5
    -1
      bin/pyenv-virtualenv

+ 3
- 0
README.md Ver fichero

@ -99,6 +99,9 @@ $ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a
folder called `my-virtual-env-2.7.10`.
`pyenv virtualenv` forwards any options to the underlying command that actually
creates the virtual environment (`conda`, `virtualenv`, or `python -m venv`).
See the output of `pyenv virtualenv --help` for details.
### Create virtualenv from current version

+ 5
- 1
bin/pyenv-virtualenv Ver fichero

@ -6,7 +6,11 @@
# pyenv virtualenv --version
# pyenv virtualenv --help
#
# -f/--force Install even if the version appears to be installed already
# -f/--force Install even if the version appears to be installed already. Skip
# prompting for confirmation
#
# Notable VIRTUALENV_OPTIONS passed to venv-creating executable, if applicable:
# -u/--upgrade Imply --force
#
PYENV_VIRTUALENV_VERSION="1.1.5"

Cargando…
Cancelar
Guardar