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