Jamie Connolly
961abbf0b4
Merge 76ffc29cd9
into bcb7abdf93
9 years ago
Jamie Connolly
76ffc29cd9
Merge branch 'master' of https://github.com/yyuu/pyenv-virtualenv
9 years ago
Yamashita, Yuu
bcb7abdf93
Merge pull request #68 from jawshooah/ignore-error-code
Ignore failure of pyenv activate
9 years ago
Josh Hagins
5953ddaf64
Ignore failure of pyenv activate
When the current pyenv environment is not a virtualenv, this line
exits with a return code of 1. This is annoying for those of us
who report the last return code in our own PROMPT_COMMAND, so
ignore the output of `pyenv activate` if we're not currently using
a virtualenv.
9 years ago
Jamie Connolly
89de9e8a01
Split out virtualenv activation into its own file
- Add in script to detect the virtualenv file
- Add in the ability to read a python virtualenv file
- Add in a script to show the current virtual environment name
- Tidy up the comment block in some of the scripts
- Update the activate script to use the pyenv-virtualenv-name script
- Add in a script that explains how the virtual env is set
- Add in a helper script to write to the virtualenv file
- Update the pyenv-virtualenv-prefix script
- Update the pyenv-virtualenv-init script
9 years ago
Yamashita Yuu
32e5a73345
v20150119
9 years ago
Yamashita Yuu
0fc9441f09
Anaconda has `activate` script nevertheless it is not a virtual environment ( #65 )
9 years ago
Yamashita, Yuu
0fe9aef635
Merge pull request #64 from wwwjfy/master
fix wrong output in test in fish, refs 240a1de
9 years ago
Tony Wang
e04a6f88fe
fix wrong output in test in fish, refs 240a1de
"(any command)" is not supported in test in fish, we have to set a
variable and then use that
9 years ago
Yamashita, Yuu
08c2e6aee4
Merge pull request #63 from wwwjfy/master
fix warns for virtualenv-init corner case on fish
9 years ago
Tony Wang
cc7c9d22b5
fix failed tests running under fish
9 years ago
Tony Wang
240a1de6e5
fix warns for virtualenv-init corner case on fish
The situation is when in a directory containing python binary,
`pyenv prefix' will return empty (caused by `pyenv which' returning
"./python"). This change adds quotes for `test', otherwise `test' will
warn about missing argument.
9 years ago
Yamashita Yuu
9d71e67401
Merge branch 'issue61'
9 years ago
Yamashita Yuu
191e806ba9
shell version set in `activate` should be unset in `deactivate` ( #61 )
9 years ago
Yamashita Yuu
4b198663c7
Merge branch 'pr60' ( #60 )
9 years ago
Yamashita Yuu
ad0fa82329
Fix broken fish test ( #60 )
9 years ago
Tony Wang
f681df6f20
fix incorrect fish syntax in pyenv-virtualenv-init
9 years ago
Yamashita, Yuu
593268b988
Merge pull request #59 from blueyed/doc-fixes
Some doc fixes: typos, grammar, clarification and formatting
9 years ago
Yamashita Yuu
e774464ced
ignore error from `pyenv-version-name` since it might fail if there is configuration error ( yyuu/pyenv#291 )
9 years ago
Yamashita, Yuu
6d46b6ab53
Merge pull request #58 from pygeek/patch-1
Update read to include pyenv-init - note.
9 years ago
Clinton Christian
11a86ad7d7
Remove white space.
9 years ago
Daniel Hahler
99145752f3
Some doc fixes: typos, grammar, clarification and formatting
9 years ago
Clinton Christian
1da2fe09c2
Update read to include pyenv-init - note.
9 years ago
Yamashita Yuu
ad644e83b5
v20141106
10 years ago
Yamashita Yuu
0786c7c5b6
The `pyenv virtualenv-init` is not always necessary ( #42 )
It is necessary only if user want automatic fashion of activation.
If the users of pyenv-virtualenv doesn't need the feature, they can
omit the configuration safely.
10 years ago
Yamashita Yuu
58e93f9e0d
Fix test which has broken by 2060c43387
10 years ago
Yamashita Yuu
2060c43387
Stop buzzy errors from embeded shell functions
10 years ago
Yamashita Yuu
a02eb0a396
Calling `create_symlinks` after `ensurepip` is unnecessary
Install script of setuptools-6.1/pip-1.5.6 will create those links if needed
10 years ago
Yamashita Yuu
1d36ef2f68
v20141012
10 years ago
Yamashita Yuu
5795eabaac
Merge branch 'bcb-master' ( fixed #47 )
10 years ago
Yamashita Yuu
e655abbd41
Fix broken tests ( #47 )
10 years ago
Yamashita Yuu
d6671249b7
Should not persist `PYENV_DEACTIVATE` after automatic deactivation ( #47 , #48 )
10 years ago
Beau Barker
79bfc9d362
When changing from a virtualenv to "system", unset PYENV_DEACTIVATE. Previously the var remained set, which made it impossible to reactivate the previous virtualenv
10 years ago
Yamashita, Yuu
5252cd0777
Merge pull request #46 from NegaMorgan/add-virtualenv-delete-instructions
added instructions for deleting virtualenvs
10 years ago
Morgan Evans
909e4de414
added instructions for deleting virtualenvs
10 years ago
Yamashita, Yuu
215bda7032
Merge pull request #44 from blueyed/no-whitespace-in-name
Do not allow whitespace in VIRTUALENV_NAME
10 years ago
Daniel Hahler
86046fd4e8
Do not allow whitespace in VIRTUALENV_NAME
While this could work in general, it fails in the end, because
whitespace is not allowed/supported in the shebang line with the
scripts in the created virtualenv.
10 years ago
Yamashita, Yuu
2cc21f112c
Merge pull request #40 from s0undt3ch/master
Fix weird bash code issue which made bash complain about "then"
10 years ago
Pedro Algarvio
81736da905
Indent to 2 spaces.
10 years ago
Pedro Algarvio
7304608e0f
Adapt tests to new output
10 years ago
Pedro Algarvio
3ebb00414f
`if [ pyenv deactivate --no-error --verbose ]` is not bourne shell compatible
10 years ago
Yamashita Yuu
c9bcef656c
Use `.` instead of `source` to support POSIX sh
10 years ago
Pedro Algarvio
2662b5807c
Fix weird bash code issue which made bash complain about "then"
10 years ago
Yamashita Yuu
fa04d6f9df
Add notes on `pyvenv` in README
10 years ago
Yamashita Yuu
a3c86f013b
Deactivate virtualenv even if it has been activated manually
10 years ago
Yamashita Yuu
7aa5d13633
v20140705
10 years ago
Yamashita Yuu
aef2546319
Fix broken fish's `if` statement
10 years ago
Yamashita Yuu
6b4d6249a0
No need to use `eval` in fish init script
10 years ago
Yamashita Yuu
0de2cdbbc3
Should not persist `PYENV_DEACTIVATE` after failed attempt to deactivate and activate
10 years ago
Yamashita Yuu
abfda4bac9
Fix issues with manual activation of virtual environments ( #34 )
10 years ago