Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
2017-07-20 15:53:55 +02:00
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 .
2017-06-08 21:52:57 +02:00
Yamashita, Yuu
d9391b4fb9
Add tests for conda's package activate/deactivate script
2016-05-25 00:53:44 +00:00
puhitaku
62e32f9cb3
Fix test: add unsets
2016-04-15 11:56:28 +09:00
puhitaku
34dc769a5d
Fix test: conda env
2016-04-13 11:40:47 +09:00
Yamashita, Yuu
13b7dc172a
need to use functions -q to check existence of the function in fish ( #136 )
2015-12-29 09:03:31 +00:00
Yamashita, Yuu
17d22e7a13
Add PYENV_VIRTUAL_ENV to check if the virtualenv has been activated via pyenv-virtualenv or not ( #128 )
2015-12-05 01:44:10 +00:00
Yamashita, Yuu
48b491f343
Add test helpers for virtualenv, pyvenv and conda
2015-11-27 13:31:00 +00:00
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.
2015-11-23 13:33:31 +00:00
Yamashita, Yuu
83bc6a49e4
Restore variables set by activate script of virtualenv properly ( #150 )
...
The `activate` script does't export the variables of `_OLD_VIRTUAL_*`,
most the deactivation code needed to be moved to `sh-deactivate`.
2015-11-12 13:45:33 +00:00
Yamashita, Yuu
25bf4a6155
Unset environment variables to pass tests while activated
2015-11-12 00:27:02 +00:00
Yamashita, Yuu
bdd52a79cd
Revert PYENV_DEACTIVATE for backward compatibility
2015-11-08 08:34:43 +00:00
Yamashita, Yuu
d2edf5dddb
Fix tests
2015-11-08 06:32:34 +00:00
Yamashita, Yuu
0fa5de07c9
fix broken tests
2015-11-06 18:26:23 +00:00
Yamashita, Yuu
c6a705b1d9
Setup CONDA_DEFAULT_ENV only if conda executable exists
2015-11-05 01:49:04 +00:00
Yamashita, Yuu
64ceee5c8e
Stop using virtualenv's activate script ( #69 )
2015-11-04 13:50:17 +00:00
Yamashita, Yuu
b32d357353
Add tests for conda
2015-07-19 15:01:04 +09:00