Pedro Fonini
fdaeaf1f97
Use version sort in pyenv versions
if available ( #2405 )
2022-07-10 23:00:51 +03:00
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
2021-05-17 10:48:46 +03:00
Anton Petrov
2924886a77
Merge pull request #1350 from maxbrunet/feature/versions/dotglob
...
List versions starting with a dot
2021-04-15 21:02:50 +03:00
Ivan Pozdeev
00f7d6249a
Fix not printing asterisk for current version in Bash 3
2021-02-14 15:50:36 +03:00
Anton Petrov
89d3d0c33d
Merge pull request #1655 from draeath/master
...
"system" python - support cases where python3, python2 is in PATH but not python
2021-02-10 20:45:41 +03:00
Ville Skyttä
c4e556eded
versions: use associative array to hold current versions
...
"hyperfine pyenv-versions" before with my bash 4.4:
Time (mean ± σ): 81.7 ms ± 2.2 ms [User: 67.8 ms, System: 15.7 ms]
Range (min … max): 78.3 ms … 87.2 ms 34 runs
After:
Time (mean ± σ): 70.6 ms ± 2.4 ms [User: 55.6 ms, System: 16.9 ms]
Range (min … max): 67.9 ms … 78.9 ms 41 runs
2021-01-29 19:54:25 +02:00
Ivan Pozdeev
f77c2d7eab
Detect Py2 presence as well
2020-09-21 18:53:09 +03:00
Paul Bransford
4d762bca7b
fix 'system' python to be present if 'python3' is on path but not 'python'
2020-07-07 18:39:52 -04:00
Maxime Brunet
2b174ab69f
List versions starting with a dot
2019-06-02 16:16:52 -04:00
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
...
This reverts commit 070e1c859f
, reversing
changes made to 3faeda67bb
.
2019-04-23 10:23:33 -04:00
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
...
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
2019-03-07 22:15:14 +01:00
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
...
Specifically, this does not play well with PWD=/proc/self/cwd
2017-11-13 16:04:31 -06:00
Yamashita, Yuu
41ce3aade2
Merge remote-tracking branch 'rbenv/master' into rbenv-1.0
2016-03-02 01:39:52 +00:00
Yamashita, Yuu
96bfa1532d
Skip virtualenv aliases as well ( yyuu/pyenv-virtualenv#126 )
2015-12-02 09:52:33 +00:00
Yamashita, Yuu
8da3749648
Merge remote-tracking branch 'rbenv/master' into rbenv-20151121
2015-11-21 04:21:14 +00:00
Yamashita, Yuu
3937dc3618
list virtual environments created by anaconda/miniconda as a version in pyenv
2015-11-04 15:00:48 +00:00
Yamashita Yuu
8e657374a1
Import recent changes from rbenv-versions
2014-10-15 00:46:11 +09:00
Yamashita Yuu
8ddf8760d5
Import recent changes from rbenv 0.4.0
2014-01-02 22:45:02 +09:00
Yamashita Yuu
403f4eb7a7
Preserve original IFSs
2013-08-15 22:29:47 +09:00
Yamashita Yuu
1a6eb80bcd
should not declare IFS in toplevel
2013-06-21 19:37:58 +09:00
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
2013-01-18 19:10:35 +09:00
Yamashita Yuu
da06998457
import rbenv-help from rbenv 0.4.0
2013-01-18 19:09:56 +09:00
Yamashita Yuu
e89ae3a4a9
show all enabled versions (maybe multiple) in pyenv versions
2012-09-07 19:56:55 +09:00
Yamashita Yuu
8187bc84e3
search commands from python version stack.
...
users can use multiple python versions at once.
2012-08-31 16:09:46 +09:00
Yamashita Yuu
2457419b4a
created new project.
...
modified rbenv source for Python and renamed to pyenv.
2012-08-31 15:30:20 +09:00