Yamashita, Yuu
077edc3b4d
Update warning message on presence of `PIP_VERSION`
6 years ago
Yamashita, Yuu
6a3172ff47
Unlike `python-build`, `DEFINITION_PATH` isn't available within `pyenv-virtualenv`
6 years ago
Yamashita, Yuu
894d4af8a3
Show some warning on the use of `PIP_VERSION`
6 years ago
Yamashita, Yuu
980159f221
Use custom get-pip URL based on the target version ( pyenv/pyenv#1127 )
6 years ago
Yamashita, Yuu
cfb8691fc5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
6 years ago
Yamashita, Yuu
b1d0d72343
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
6 years ago
Teake Nutma
393bcc36b8
Source conda 4.4.4 shell files
Conda 4.4.4 (https://github.com/conda/conda/releases/tag/4.4.0 )
made some changes on how to set up conda in the shell.
This commit addresses these.
This fixes some of the discussion in #178 .
6 years ago
Chris Larsen
52cb0b1086
evaluate force flag before testing if venv exists
fixes #161 , fixes #187
7 years ago
Yamashita, Yuu
4c8da67f02
v1.1.1
7 years ago
Yamashita, Yuu
e339fde2f3
Create virtualenv's bin directory explicitly to avoid CI failures
7 years ago
Yamashita, Yuu
e83a1f12c2
Generate `pydoc` executable after creating new virtualenv ( fixes #197 , pyenv/pyenv#963 )
7 years ago
Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
7 years ago
Yamashita, Yuu
e4d2c367cc
v1.1.0
7 years ago
Drummond Ogilvie
862be21a32
fish: use "set -gx" instead of "setenv" ( #218 )
Use `set -gx` instead of `setenv` for fish shell.
Fix test "activate if the first virtualenv is a virtualenv": it was asserting
the output was of bash form, but not specifying that in the test — it now does.
Fixes https://github.com/pyenv/pyenv-virtualenv/issues/216 .
7 years ago
yamotonalds
304dff741f
Fix typo
7 years ago
Yamashita, Yuu
a3bc42cb93
v1.0.0 ( yyuu/pyenv#520 )
8 years ago
Yamashita, Yuu
0fd8a161e6
v20160716
8 years ago
Yamashita, Yuu
8c7dd01954
Replaced `pyvenv` by `-m venv`
8 years ago
Yamashita, Yuu
187156d600
Use `python -m venv` instead on `pyvenv` in tests
8 years ago
Yamashita, Yuu
24b494a858
Use `-m venv` instead of `pyvenv` executable ( fixes #184 )
8 years ago
Yamashita, Yuu
5c2d7dc291
Use `source` in favor of `.` ( fixes #175 )
* https://github.com/yyuu/pyenv/pull/615
* https://github.com/fish-shell/fish-shell/issues/310
8 years ago
Yamashita, Yuu
d6bc583753
Source conda package activate/deactivat scripts if exist ( fixes #173 )
8 years ago
Yamashita, Yuu
1cb6bb06ef
Turn `PYENV_VIRTUALENV_VERBOSE_ACTIVATE` on if `--verbose` is given
8 years ago
Yamashita, Yuu
08cfea259c
Remove backward compat `--no-error` option
8 years ago
Yamashita, Yuu
c64aebef08
1) Made `--quiet` as opposite of `--verbose` 2) Suppress warning about prompts on `--quiet`
8 years ago
puhitaku
f627609419
Suppress activate/deactivate messages by default
8 years ago
shangsunset
7938c89aff
change minor typo in bin/pyenv-sh-activate
8 years ago
Yamashita, Yuu
1ce2e2d730
v20160315
8 years ago
Yamashita, Yuu
d3d6504e01
Set proper `CONDA_DEFAULT_ENV` for shorter name ( #160 )
8 years ago
Sean Fisk
dbbbc33206
Evaluate ${PATH} when outputted code is eval'd.
It was previously evaluated when 'pyenv virtualenv-init' is run.
8 years ago
Yamashita, Yuu
17ee6e72b6
v20160202
8 years ago
Yamashita, Yuu
1f761275cd
Install virtualenv 13.1.2 for CPython 3.2 ( yyuu/pyenv#531 )
8 years ago
Yamashita, Yuu
51ebc8ff8a
v20160112
8 years ago
Yamashita, Yuu
5963688fc4
v20151229
8 years ago
Yamashita, Yuu
13b7dc172a
need to use `functions -q` to check existence of the function in fish ( #136 )
8 years ago
Yamashita, Yuu
0b42fbc27d
v20151222
8 years ago
Yamashita, Yuu
9414a6bb30
Stop showing `version not installed` in precmd ( #49 )
8 years ago
Yamashita, Yuu
2d73d058bd
Fix wrong library path for virtualenv on PyPy/Jython ( fixes #134 )
8 years ago
Yamashita, Yuu
1e88df88a9
Rewrite virtualenv-prefix without executing python ( #132 )
8 years ago
Yamashita, Yuu
17d22e7a13
Add `PYENV_VIRTUAL_ENV` to check if the virtualenv has been activated via pyenv-virtualenv or not ( #128 )
8 years ago
Yamashita, Yuu
3fc832f4c7
Create virtualenv inside `real_prefix`
8 years ago
Yamashita, Yuu
aae3bf2786
Add workaround for rywyo/anyenv
8 years ago
Yamashita, Yuu
035f5185b5
Skip `ensurepip` if `--no-setuptools`, `--no-pip` or `--without-pip` is given ( fixes #127 )
8 years ago
Yamashita, Yuu
e230817496
Restored `--no-error` for compatibility with v20151103 and earlier
8 years ago
Yamashita, Yuu
6e91d75069
Stop showing message about `pyenv virtualenv-init` on activate ( #122 )
`pyenv virtualenv-init` is just an option. Always showing message about
it would be too much to do.
8 years ago
Yamashita, Yuu
6a2b77ed5b
Fix tests
8 years ago
Yamashita, Yuu
789c349570
Allow specifying python version for conda via `-p` or `--python`
8 years ago
Yamashita, Yuu
bad8dcf768
Use `conda create` to create virtualenv if the source version is a Anaconda/Miniconda
8 years ago
Yamashita, Yuu
116e133c90
Activate a virtualenv of current version if specified version is not a virtualenv
```sh
% pyenv versions
system
* miniconda3-3.16.0 (set by PYENV_VERSION environment variable)
miniconda3-3.16.0/envs/venv
% pyenv activate venv
pyenv-virtualenv: deactivate miniconda3-3.16.0
pyenv-virtualenv: activate miniconda3-3.16.0/envs/venv
```
8 years ago
Yamashita, Yuu
1edff311d5
exits as error if the virtual environment doesn't have `python` executable ( #104 )
conda's environment might not have `python` executable. If the prefix
doesn't contain `python` in it, `pyenv-which` might be ran into infinite
loop if some of `which` hooks invoke `pyenv-virtualenv-prefix`.
8 years ago