Yamashita, Yuu
1cb6bb06ef
Turn PYENV_VIRTUALENV_VERBOSE_ACTIVATE on if --verbose is given
2016-05-07 13:45:00 +00:00
Yamashita, Yuu
08cfea259c
Remove backward compat --no-error option
2016-05-07 13:40:48 +00:00
Yamashita, Yuu
c64aebef08
1) Made --quiet as opposite of --verbose 2) Suppress warning about prompts on --quiet
2016-05-07 13:40:32 +00:00
puhitaku
f627609419
Suppress activate/deactivate messages by default
2016-04-08 15:45:26 +09:00
shangsunset
7938c89aff
change minor typo in bin/pyenv-sh-activate
2016-03-25 17:02:33 -04:00
Yamashita, Yuu
1ce2e2d730
v20160315
2016-03-15 00:37:46 +00:00
Yamashita, Yuu
d3d6504e01
Set proper CONDA_DEFAULT_ENV for shorter name ( #160 )
2016-03-14 12:50:27 +00:00
Sean Fisk
dbbbc33206
Evaluate ${PATH} when outputted code is eval'd.
...
It was previously evaluated when 'pyenv virtualenv-init' is run.
2016-03-01 01:12:06 -05:00
Yamashita, Yuu
17ee6e72b6
v20160202
2016-02-02 08:47:11 +00:00
Yamashita, Yuu
1f761275cd
Install virtualenv 13.1.2 for CPython 3.2 ( yyuu/pyenv#531 )
2016-01-30 04:34:23 +00:00
Yamashita, Yuu
51ebc8ff8a
v20160112
2016-01-12 01:53:27 +00:00
Yamashita, Yuu
5963688fc4
v20151229
2015-12-29 09:13:51 +00: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
0b42fbc27d
v20151222
2015-12-22 10:38:02 +00:00
Yamashita, Yuu
9414a6bb30
Stop showing version not installed in precmd ( #49 )
2015-12-18 02:32:01 +00:00
Yamashita, Yuu
2d73d058bd
Fix wrong library path for virtualenv on PyPy/Jython ( fixes #134 )
2015-12-15 00:24:02 +00:00
Yamashita, Yuu
1e88df88a9
Rewrite virtualenv-prefix without executing python ( #132 )
2015-12-10 03:53:16 +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
3fc832f4c7
Create virtualenv inside real_prefix
2015-12-04 00:43:10 +00:00
Yamashita, Yuu
aae3bf2786
Add workaround for rywyo/anyenv
2015-12-04 00:43:03 +00:00
Yamashita, Yuu
035f5185b5
Skip ensurepip if --no-setuptools, --no-pip or --without-pip is given ( fixes #127 )
2015-12-04 00:07:01 +00:00
Yamashita, Yuu
e230817496
Restored --no-error for compatibility with v20151103 and earlier
2015-12-02 23:59:41 +00:00
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.
2015-12-02 23:49:07 +00:00
Yamashita, Yuu
6a2b77ed5b
Fix tests
2015-11-27 12:36:59 +00:00
Yamashita, Yuu
789c349570
Allow specifying python version for conda via -p or --python
2015-11-27 04:41:00 +00:00
Yamashita, Yuu
bad8dcf768
Use conda create to create virtualenv if the source version is a Anaconda/Miniconda
2015-11-27 04:32:34 +00:00
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
```
2015-11-27 00:04:05 +00:00
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`.
2015-11-26 10:34:32 +00:00
Yamashita, Yuu
aae07d1318
Deactivation before activation should not return as non-zero ( fixes #116 )
2015-11-26 09:15:02 +00:00
Yamashita, Yuu
aea9eda680
Merge pull request #123 from yyuu/remove-pyenv-deactivate
...
Remove `PYENV_DEACTIVATE`
2015-11-26 14:06:14 +09:00
Yamashita, Yuu
5e92253943
Fix broken --skip-aliases
2015-11-25 12:04:48 +00:00
Yamashita, Yuu
0bbb12a3bf
Use glob to check if the virtualenv is inside pyenv's prefix or not
2015-11-24 00:04:18 +00:00
Yamashita, Yuu
4e9d697887
Suppress message about virtualenv-init if -quiet given ( fixes #122 )
2015-11-23 13:34:46 +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
f92a3a26c5
Add --skip-aliases to pyenv virtualenvs ( fixes #120 )
2015-11-23 12:06:22 +00:00
Yamashita, Yuu
59bc189bec
Basically / should not be allowed as a part of name of virtualenv
2015-11-23 09:38:39 +00:00
Yamashita, Yuu
caa5832b8a
Allow manual activation of virtualenvs inside $(pyenv-root)/versions ( #115 )
2015-11-16 02:29:46 +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
47feedc934
exits as 0 if there is some virtualenv outside from pyenv is already activated ( #114 )
2015-11-12 13:29:25 +00:00
Yamashita, Yuu
a73817eecc
Use canonical name for VIRTUAL_ENV as a workaround for IPython ( fixes #113 )
2015-11-12 00:29:26 +00:00
Yamashita, Yuu
0b9b19232a
Skip creating $(pyenv root)/versions/system/envs/ directory for virtualenv from system
2015-11-11 01:34:59 +09:00
Yamashita, Yuu
bb623bd8bf
Prevent removing symlinks bound to different version ( #106 )
2015-11-09 05:57:16 +00:00
Yamashita, Yuu
ee18ffac9f
Change prompt after activate ( #52 )
2015-11-09 01:57:17 +00:00
Yamashita, Yuu
c1b9238cbe
Reject creating a virtualenv named system ( yyuu/pyenv#475 )
2015-11-08 23:44:58 +00:00
Yamashita, Yuu
950a742be3
Add short options
2015-11-08 09:18:29 +00:00
Yamashita, Yuu
bdd52a79cd
Revert PYENV_DEACTIVATE for backward compatibility
2015-11-08 08:34:43 +00:00
Yamashita, Yuu
f7d1aa7d94
Allow activating first version of virtualenv even if there are multiple versions in pyenv ( #105 )
2015-11-08 06:32:28 +00:00
Yamashita, Yuu
0fa5de07c9
fix broken tests
2015-11-06 18:26:23 +00:00
Yamashita, Yuu
017d20ad91
remove unnecessary logic from init script
2015-11-06 17:58:09 +00:00
Yamashita, Yuu
7f33ddd911
prompt should be managed by users, not by tools
2015-11-06 17:34:21 +00:00