Josh Friend
3a95c969e1
v2.2.5 Add new CPython versions
il y a 4 ans
Ville Skyttä
ee6ef20859
docs(pyenv-prefix): note support for multiple versions ( #2270 )
il y a 4 ans
Anton Petrov
6f7a29c3f4
Update pyenv---version
il y a 4 ans
Anton Petrov
8675031879
Update pyenv---version
il y a 4 ans
Anton Petrov
dc3a201301
Update pyenv---version
il y a 4 ans
Josh Friend
23dfe75b73
v2.2.1
il y a 4 ans
Oğuzhan Çelikarslan
552d943762
Fix typos in command examples ( #2147 )
il y a 4 ans
Anton Petrov
066c05336f
Update pyenv---version
il y a 4 ans
Anton Petrov
05ca057bb2
Update pyenv---version
il y a 4 ans
Ivan Pozdeev
e28661c7e2
Fix random "broken pipe"
il y a 4 ans
Anton Petrov
dcfd715603
Update pyenv---version
il y a 4 ans
Ivan Pozdeev
eb89256f59
Remove the sample code from pyenv init
since there proved to be to many cases to fit
il y a 4 ans
native-api
4f689cdf83
Allow system Python in sbin ( #2065 )
Arch Linux has Python is sbin as well as bin
il y a 4 ans
Ivan Pozdeev
26134d9b38
Allow system Python in sbin
Arch Linux has Python is sbin as well as bin
il y a 4 ans
Pamela McA'Nulty
1c90a0f864
Prevent duplicate PATH entries when bin_path/.. is the same as PYENV_ROOT ( #2045 )
il y a 4 ans
Anton Petrov
2d64fb1cb9
Update pyenv---version
il y a 4 ans
Anton Petrov
e9c8dfc197
Update pyenv---version
il y a 4 ans
Anton Petrov
cef86ce462
Update pyenv---version
il y a 5 ans
Anton Petrov
3a5a21ee05
Update pyenv---version
il y a 5 ans
native-api
f7754ae6a4
Remove PATH warning ( #2001 )
* In some cases (Ubuntu), `pyenv init -` has to be run before `pyenv init --path`.
* The warning has served its purpose by now.
il y a 5 ans
Anton Petrov
20df064204
Update pyenv---version
il y a 5 ans
Hugh Rawlinson
d2bd4c06ef
Suggest that fish users init in interactive mode
...rather than login mode.
I couldn't get rid of the warning that `pyenv init -` no longer sets path until I did this. It looks like setting only on the login shell wasn't enough to hide the warning in other shells I opened. This fits with [how rbenv does the same thing](https://github.com/rbenv/rbenv/blob/master/libexec/rbenv-init#L74 ).
I'm way out of my depth here, so someone who knows about shell types should definitely review this.
il y a 5 ans
native-api
859b260764
Check for shims in path with pure Bash ( #1978 )
Closes https://github.com/pyenv/pyenv/issues/1921
il y a 5 ans
Anton Petrov
f81bffc95e
2.0.1
il y a 5 ans
Anton Petrov
1270ca6b0b
2.0.0
il y a 5 ans
Anton Petrov
4ce52bd333
2.0.0-rc1
il y a 5 ans
Ivan Pozdeev
ddf952ab2d
Allow for cases where user might've aliased some programs
The $(type -p | head -1) construct expects to always get a path, so need to ignore such aliases with -P
Closes https://github.com/pyenv/pyenv/issues/1662
il y a 5 ans
Ivan Pozdeev
e0d109c227
Include a Bash automated install option
il y a 5 ans
native-api
0d07cda969
Update install instructions for Bash and Zsh ( #1920 )
* Update install instructions for Bash and Zsh
* Synchronize README.md with `pyenv init`
* Add a ~/.bash_profile note
* Concatenate shims activation into installation for brevity
(Pyenv can't be used meaningfully without shims anyway)
Otherwise, we'd need to duplicate all the ~/.profile shenanigans in both sections
* Update based on feedback
* Proofread
il y a 5 ans
Fabian Homborg
0d2fb35cee
Fix fish installation instructions ( #1916 )
il y a 5 ans
Ivan Pozdeev
da9392fd09
Add a hint for cases when ~/.profile sources ~/.rc
Our ~/.rc logic must run after the ~/.profile one
il y a 5 ans
Ivan Pozdeev
13deda8875
Place full shell configuration instructions into `pyenv init`
including initial PATH and PYENV_ROOT entries.
The migration hint proved to be unclear to users without them.
il y a 5 ans
Ivan Pozdeev
aab562c696
Add a warning about needing to restart the entire login session
E.g. for a GUI session, ~/.profile is executed by the GUI login "shell" at its startup
so one needs to fully log out and log back in.
Before that, the change would only be seen by shells explicitly started as login shells.
il y a 5 ans
Ivan Pozdeev
3e3f40fefc
Warn users to add `pyenv init --path` to ~/.profile
To facilitate migration
il y a 5 ans
Ivan Pozdeev
7838707595
Separate startup logic into PATH and the rest
PATH manipulation should be done in ~/.profile rather than ~/.*rc since .rc can be sourced multiple times
il y a 5 ans
Ivan Pozdeev
5998f4f7ab
Refactoring: make logic more fit for rearrangement
With functions, we have more leeway in what to call
il y a 5 ans
Anton Petrov
6656066d4f
1.2.27
il y a 5 ans
Ville Skyttä
641916270b
feat: support (skip) commented lines in version-file
Sometimes it is convenient to be able to temporarily disable something
in a version-file. Because these files often aren't necessarily tracked
in a SCM, especially when working with virtualenvs, the SCM diffs won't
help with showing removed lines which are currently the only way to
disable something.
il y a 5 ans
Anton Petrov
80067632b6
1.2.26
il y a 5 ans
Anton Petrov
35aa7e52ce
1.2.25
il y a 5 ans
Ville Skyttä
61d702405d
feat(init): strip -<suffix> when autodetecting shell
For example bash-5.1, bash-static.
il y a 5 ans
Anton Petrov
332772abc5
1.2.24
il y a 5 ans
Ville Skyttä
f06fb60b1f
Make work in nounset (-u) mode
il y a 5 ans
Anton Petrov
f31a06dc19
Added --nosystem argument
Added --nosystem argument to skip the system environment when searching for an executable.
il y a 5 ans
Josh Friend
5f62ad7680
v1.2.23
il y a 5 ans
tuzi3040
d51999adf5
Fix 'sed: RE error: illegal byte sequence' ( #1714 )
... by unsetting `LC_ALL` and passing `LC_CTYPE=C` to `sed`.
This commit fixes issue #1454 .
il y a 5 ans
Ivan Pozdeev
131e44afcb
Remove the "Using script's directory as PYENV_DIR if shim is invoked with a script argument" feature
It's impossible to 100% reliably extract the script argument from the command line for all and unknown Python versions and implementations
il y a 5 ans
Ivan Pozdeev
a6b0a2846e
Revert "shims: handle symlinked scripts, via new PYENV_FILE_ARG"
This reverts commit 493f036928 .
# Conflicts:
# libexec/pyenv
il y a 5 ans
Ivan Pozdeev
00f7d6249a
Fix not printing asterisk for current version in Bash 3
il y a 5 ans
Ivan Pozdeev
9309050864
Use a better PS4 as recommeneded by Bash Hackers Wiki
it allows to see functions as well as lines, therefore making it possible to see the control flow
il y a 5 ans