Marco Buttu
4f39ac4623
"pyenv virtualenvs" lists two entries for each virtualenv
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
4c8eeebbff
Add missing declaration of `virtualenv_prefix` to fix looking up executables from source version ( #62 )
8 years ago
Yamashita, Yuu
433992e376
Merge pull request #138 from kerstin/autoactivate
Clarification of auto-activation/deactivation feature
8 years ago
Kerstin Kollmann
efe6d6757c
clarify how auto-activation works (requirements)
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
bc5d308d05
Remove version string from test
8 years ago
Yamashita, Yuu
9414a6bb30
Stop showing `version not installed` in precmd ( #49 )
8 years ago
Yamashita, Yuu
b9951fa69c
Uninstall all virtualenvs inside `envs` on the uninstallation of the parent version
8 years ago
Yamashita, Yuu
2d73d058bd
Fix wrong library path for virtualenv on PyPy/Jython ( fixes #134 )
8 years ago
Yamashita, Yuu
907c6b4265
Merge branch 'detect-virtualenv-prefix-without-executing-python'
8 years ago
Yamashita, Yuu
1e88df88a9
Rewrite virtualenv-prefix without executing python ( #132 )
8 years ago
Yamashita, Yuu
c61fdaa478
Fix installation script to install hook scripts as well ( #62 )
8 years ago
Yamashita, Yuu
fbb7d2876e
Merge pull request #131 from leeclemens/patch-1
Add envs/*/my-virtual-env dir for uninstall
8 years ago
Lee Clemens
a64f194163
Add envs/*/my-virtual-env dir for uninstall
Both directories need to be deleted or a subsequent install with the same name will fail
pyenv install 3.4.3 my-virtual-env:
rm -rf ~/.pyenv/versions/my-virtual-env ~/.pyenv/versions/3.4.3/my-virtual-env
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
8d307def52
Merge branch 'envs-riwyo-anyenv-workaround' ( fixes #130 )
8 years ago
Yamashita, Yuu
a5d406a545
Add tests for extra `envs` in `PYENV_ROOT`
8 years ago
Yamashita, Yuu
9c49fcd734
Fix broken tests
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
b9d17df337
`pyenv-which-ext` isn't necessary for Anaconda since latest pyenv has built-in hook
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
cf7dea411d
Merge pull request #125 from yyuu/conda-create
Use `conda create` to create virtual environment if `conda` is available
8 years ago
Yamashita, Yuu
fa11d65bf6
Add tests for `conda create`
8 years ago
Yamashita, Yuu
48b491f343
Add test helpers for virtualenv, pyvenv and conda
8 years ago
Yamashita, Yuu
6a2b77ed5b
Fix tests
8 years ago
Yamashita, Yuu
a67be6dbe7
Update README about `conda create`
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
35732c8393
Merge branch 'virtualenv-without-python-executable'
8 years ago
Yamashita, Yuu
c3d044d70a
Only use premitives in which hooks to avoid infinite loop ( #104 )
8 years ago
Yamashita, Yuu
bdda7214a8
Should not try to find system-site-packages if virtualenv is a conda's environment ( #104 )
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
Yamashita, Yuu
353062df09
Merge pull request #124 from yyuu/deactivation-before-activation-should-not-return-non-zero
Deactivation before activation should not return as non-zero
8 years ago
Yamashita, Yuu
aae07d1318
Deactivation before activation should not return as non-zero ( fixes #116 )
8 years ago
Yamashita, Yuu
aea9eda680
Merge pull request #123 from yyuu/remove-pyenv-deactivate
Remove `PYENV_DEACTIVATE`
8 years ago
Yamashita, Yuu
5e92253943
Fix broken `--skip-aliases`
8 years ago
Yamashita, Yuu
0bbb12a3bf
Use glob to check if the virtualenv is inside pyenv's prefix or not
8 years ago
Yamashita, Yuu
4e9d697887
Suppress message about `virtualenv-init` if `-quiet` given ( fixes #122 )
8 years ago
Yamashita, Yuu
5f87786adf
Remove `PYENV_DEACTIVATE` ( fixes #121 )
This means that pyenv-virtualenv will not allow manual deactivation of
virtualenv if pyenv-virtualenv-init is enabled. This must be acceptable
since the activation of virtualenv is just setting of environment
variables in current implementation.
8 years ago
Yamashita, Yuu
f92a3a26c5
Add `--skip-aliases` to `pyenv virtualenvs` ( fixes #120 )
8 years ago