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
Yamashita, Yuu
8731e9bf14
replaced --no-error by --quiet
2015-11-06 17:33:40 +00:00
Yamashita, Yuu
bf7e9ba59a
Show activating... messages by default
2015-11-06 17:27:50 +00:00
Yamashita, Yuu
dfd1655069
add a script to hook source activate for Anaconda/Miniconda ( #103 )
2015-11-06 06:10:09 +00:00
Yamashita, Yuu
e489163f92
Merge pull request #106 from yyuu/uninstall-rehash-envs
...
Support uninstall and rehash of virtual environments created in `envs`
2015-11-05 18:40:46 +09:00
Yamashita, Yuu
5c9909f4c1
Merge pull request #107 from yyuu/create-virtualenv-in-envs
...
Create virtualenv inside `envs` directory as similar as Anaconda
2015-11-05 18:40:25 +09:00
Yamashita, Yuu
a233491f2b
Remove obsolete TODO comment
2015-11-05 01:58:44 +00:00
Yamashita, Yuu
c6a705b1d9
Setup CONDA_DEFAULT_ENV only if conda executable exists
2015-11-05 01:49:04 +00:00
Yamashita, Yuu
8038659299
Create virtualenv inside envs directory as similar as Anaconda
2015-11-04 14:56:01 +00:00
Yamashita, Yuu
0df362e8c8
Support deletion of virtualenv created in envs
2015-11-04 14:08:58 +00:00
Yamashita, Yuu
64ceee5c8e
Stop using virtualenv's activate script ( #69 )
2015-11-04 13:50:17 +00:00
Yamashita, Yuu
2ae921c253
Treat all versions with activate script as a virtual environment
2015-11-04 13:07:46 +00:00
Yamashita, Yuu
72cf0e1b1b
v20151103
2015-11-03 13:36:45 +00:00
Daniel Hahler
f594876f31
init: zsh: prepend hook to precmd_functions
...
This makes sure that $VIRTUAL_ENV is handled already in other precmd
functions, especially your prompt.
2015-11-02 17:52:59 +01:00
Bartosz Janda
f657fad926
Passing return value from executed command.
2015-10-15 20:37:00 +02:00
Yamashita, Yuu
6a6947659a
v20151006
2015-10-06 14:06:58 +00:00
Yamashita, Yuu
249759aa04
add foolproof for -p argument.
...
find proper source version from pyenv if the given executable is only
basename or is a shim script.
2015-10-06 13:53:43 +00:00
Jeremy
a242067435
Fix pyenv-virtualenv-init script for fish where command was in string and not being evaluated
2015-09-24 14:06:20 +02:00
Yamashita, Yuu
e535faea4d
Ignore user's site-packages on ensurepip/get-pip ( #89 )
...
https://www.python.org/dev/peps/pep-0370/
2015-07-20 19:05:52 +09:00
Yamashita, Yuu
90531a6a48
v20150719
2015-07-19 18:22:34 +09:00
Yamashita, Yuu
b32d357353
Add tests for conda
2015-07-19 15:01:04 +09:00
Yamashita, Yuu
cdbf7c9972
activate "root" environment of anaconda/miniconda if environment name is not given
2015-07-19 04:19:34 +09:00
Yamashita, Yuu
25395f0331
activate: look for a conda environment if given name is not a pyenv's prefix
2015-07-19 03:38:48 +09:00
Yamashita, Yuu
be6701e7b6
Fix Error: too many arguments. on deactivating anaconda env
2015-07-19 01:04:23 +09:00
Yamashita, Yuu
65c74dbf2d
activate/deactivate anaconda/miniconda envs
2015-07-19 00:08:09 +09:00
Yamashita, Yuu
6132f4228e
*EXPERIMENTAL* a support for _envs_ created by anaconda/miniconda
2015-07-19 00:07:59 +09:00
Daniel Hahler
8ca45c0e0a
init: fix shell detection when invoked from a script
...
- fixes `ps` command to lookup parent process
- adds `assert_output_contains_not` test helper
Ref: https://github.com/yyuu/pyenv/issues/373
2015-06-26 20:47:08 +02:00
Yamashita Yuu
69fee6855d
Show error message if the source version is not installed ( #83 )
2015-06-27 02:19:28 +09:00
Yamashita Yuu
e261806f96
Skip installing setuptools explicitly with using ez_setup.py ( yyuu/pyenv#381 )
...
It will be done by `get-pip.py` and we don't have to do anything explicitly.
2015-05-27 00:06:16 +09:00
Yamashita Yuu
9a52f9fb5d
v20150526
...
First release after my son's birth....
2015-05-27 00:01:13 +09:00
Yamashita, Yuu
0ca01826e8
Merge pull request #78 from blueyed/shell-no-note-if-init
...
activate: do not display note if initialized already
2015-05-17 12:23:37 +09:00
Yamashita, Yuu
4fa9c7b220
Merge pull request #75 from blueyed/fix-zsh-typeset-precmd_functions
...
Use `typeset -g` with `precmd_functions`
2015-05-17 12:12:12 +09:00
Daniel Hahler
2571a2b973
activate: display setup instructions only with PYENV_VIRTUALENV_INIT=0
...
This fixes displaying the note, in case "init" has been run manually
and/or the init is not in the expected place.
It removes the unnecessary calls to "grep".
pyenv-virtualenv-init will look at `$PYENV_SHELL` now, too.
Tests have been adjusted/fixed.
2015-05-10 17:47:46 +02:00
Daniel Hahler
95fa7a35ad
shell: do not use basename, but bash
2015-05-10 17:36:03 +02:00