Ville Skyttä
4054162a1c
Fix errors when `set -u` is set in the user's shell ( #350 )
před 1 rokem
Ville Skyttä
3c0edf888e
Spelling fixes ( #352 )
před 1 rokem
Joseph Egan
7932bb4cc0
Stop delete force failing when virtualenv does not exist ( #330 )
před 1 rokem
Eric N. Vander Weele
c6ff093344
Deduplicate shims in $PATH for the fish shell during initialization ( #430 )
When a fish login shell is invoked within an existing login shell, avoid
duplicating path to the shims by removing existing occurrences before
prepending.
před 2 roky
Nick
cc9d5f168e
Update `get-pip.py` URLs in `pyenv-virtualenv` ( #426 )
před 2 roky
Alain Kalker
017ea60cd3
Fix another unbound variable error ( #424 )
* Fix tests failing after #423
před 2 roky
Alain Kalker
1ee7ca6346
Fix unbound variable errors when running `pyenv activate` with `set -u` ( #423 )
před 2 roky
Ville Skyttä
91609e25f3
perf(sh-activate): avoid a duplicate pyenv-version-name call ( #380 )
před 2 roky
Seonghyeon Cho
5509c25ac1
Add (y/N) prompt help text ( #404 )
před 2 roky
jivanf
c3110d874e
Fix get-pip.py URLs for older versions of Python ( #403 )
před 2 roky
Gaurav Talreja
b334dde5ef
Fix #394 - update pyenv virtualenvs command to list virtualenvs starting with dot prefixes
před 3 roky
Anton Petrov
8c7ef734f9
Update pyenv-virtualenv-init
https://github.com/pyenv/pyenv-installer/pull/109
před 3 roky
Ivan Pozdeev
90f7b999ff
~/.*rc should be modified instead of ~/.*profile
Otherwise, there's no effect for non-login interactive shells
před 3 roky
Yamashita, Yuu
294f64f76b
v1.1.5
před 5 roky
Yamashita, Yuu
74bba45b9c
v1.1.4
před 5 roky
Yamashita, Yuu
a9e1891e8b
Prefer `python3.x` executable if avaialble ( closes #206 , #282 )
před 5 roky
Luis Marsano
ed779fea14
cleanup `pyenv virtualenv` on ERR
also cleanup compatibility paths
před 5 roky
Luis Marsano
e0a1e9b35c
support newer conda
pyenv-virtualenvs could not list conda environments & pyenv shell would only activate the base conda environment
the conda detection criteria of testing the presence of `conda` or `activate` files under `$(pyenv root)/versions/$version/bin` appears to be the culprit, since newer environments no longer include these files: those files reside in the base conda environment
- add detection criteria of `$(pyenv root)/versions/$version/conda-meta`
- compute the real prefix to the base environment from `realpath $(realpath $(pyenv root)/versions/$version)/../..`
- to allow that, enhance substitute `realpath` in `pyenv-virtualenvs` to reduce relative paths `.` & `..`, and factor that code out to a file under `libexec` for reuse
- hook `which` to locate conda from the real prefix
před 5 roky
Yamashita, Yuu
42f8ed2dce
v1.1.3
před 6 roky
Yamashita, Yuu
9a03eb5b9c
v1.1.2
před 6 roky
Yamashita, Yuu
077edc3b4d
Update warning message on presence of `PIP_VERSION`
před 6 roky
Yamashita, Yuu
6a3172ff47
Unlike `python-build`, `DEFINITION_PATH` isn't available within `pyenv-virtualenv`
před 6 roky
Yamashita, Yuu
894d4af8a3
Show some warning on the use of `PIP_VERSION`
před 6 roky
Yamashita, Yuu
980159f221
Use custom get-pip URL based on the target version ( pyenv/pyenv#1127 )
před 6 roky
Yamashita, Yuu
cfb8691fc5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
před 6 roky
Yamashita, Yuu
b1d0d72343
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
před 6 roky
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 .
před 6 roky
Chris Larsen
52cb0b1086
evaluate force flag before testing if venv exists
fixes #161 , fixes #187
před 7 roky
Yamashita, Yuu
4c8da67f02
v1.1.1
před 7 roky
Yamashita, Yuu
e339fde2f3
Create virtualenv's bin directory explicitly to avoid CI failures
před 7 roky
Yamashita, Yuu
e83a1f12c2
Generate `pydoc` executable after creating new virtualenv ( fixes #197 , pyenv/pyenv#963 )
před 7 roky
Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
před 7 roky
Yamashita, Yuu
e4d2c367cc
v1.1.0
před 7 roky
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 .
před 7 roky
yamotonalds
304dff741f
Fix typo
před 7 roky
Yamashita, Yuu
a3bc42cb93
v1.0.0 ( yyuu/pyenv#520 )
před 8 roky
Yamashita, Yuu
0fd8a161e6
v20160716
před 8 roky
Yamashita, Yuu
8c7dd01954
Replaced `pyvenv` by `-m venv`
před 8 roky
Yamashita, Yuu
187156d600
Use `python -m venv` instead on `pyvenv` in tests
před 8 roky
Yamashita, Yuu
24b494a858
Use `-m venv` instead of `pyvenv` executable ( fixes #184 )
před 8 roky
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
před 8 roky
Yamashita, Yuu
d6bc583753
Source conda package activate/deactivat scripts if exist ( fixes #173 )
před 8 roky
Yamashita, Yuu
1cb6bb06ef
Turn `PYENV_VIRTUALENV_VERBOSE_ACTIVATE` on if `--verbose` is given
před 8 roky
Yamashita, Yuu
08cfea259c
Remove backward compat `--no-error` option
před 8 roky
Yamashita, Yuu
c64aebef08
1) Made `--quiet` as opposite of `--verbose` 2) Suppress warning about prompts on `--quiet`
před 8 roky
puhitaku
f627609419
Suppress activate/deactivate messages by default
před 8 roky
shangsunset
7938c89aff
change minor typo in bin/pyenv-sh-activate
před 8 roky
Yamashita, Yuu
1ce2e2d730
v20160315
před 8 roky
Yamashita, Yuu
d3d6504e01
Set proper `CONDA_DEFAULT_ENV` for shorter name ( #160 )
před 8 roky
Sean Fisk
dbbbc33206
Evaluate ${PATH} when outputted code is eval'd.
It was previously evaluated when 'pyenv virtualenv-init' is run.
před 8 roky