Antoine Arbouin
03b60aafec
Support virtualenvs with names starting with "python-" ( #3086 )
2024-10-10 20:43:13 +03:00
Ed Morley
d60d1c5cdc
Fix latest version resolution when using python-
prefix ( #3056 )
...
Fixes use of version specifiers like `python-3.12`, which:
- have an explicit `python-` prefix
- are using a major version alias that has to be resolved
to an exact version.
Also simplified the conditional for the already
working case, since it had two branches that were virtually identical.
2024-09-10 18:51:55 +03:00
Ivan Pozdeev
9373970678
pyenv-latest: replace -q with -b and -f, document as internal
...
More tailored for the emergent internal use cases
2024-07-21 06:31:42 +03:00
native-api
a12f947cc3
Auto-resolve prefixes to the latest version ( #2487 )
2022-10-30 03:38:40 +03: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
Yamashita, Yuu
41ce3aade2
Merge remote-tracking branch 'rbenv/master' into rbenv-1.0
2016-03-02 01:39:52 +00:00
Yamashita, Yuu
8da3749648
Merge remote-tracking branch 'rbenv/master' into rbenv-20151121
2015-11-21 04:21:14 +00:00
Yamashita, Yuu
46ffb0c8df
Merge pull request #290 from blueyed/version-handle-missing-better
...
Improve `pyenv version`, if there is one missing
2015-05-17 12:05:03 +09:00
Yamashita Yuu
f48a5b11d7
Import recent changes from rbenv 4d72eefffc
2015-03-07 01:01:32 +09:00
Daniel Hahler
7f88eabd0b
Improve pyenv version
, if there is one missing
...
Display the other available ones still.
Fixes https://github.com/yyuu/pyenv/issues/291
2014-12-11 18:49:38 +01:00
Yamashita Yuu
3dd9332eee
Fix broken tests
2014-01-03 04:33:30 +09:00
Yamashita Yuu
f538169992
Restore OLDIFS expectedly
2014-01-03 01:47:10 +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
c24207428c
remove useless definition of PYENV_VERSION_PATH
2013-05-16 18:21:37 +09:00
Yamashita Yuu
ea7dc5f1e1
fix inverted result of checking version existence (refs #7 )
2013-02-07 16:50:20 +09:00
Yamashita Yuu
167ff2a198
s/Ruby/Python/g; s/RBENV/PYENV/g
2013-02-06 16:05:29 +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
5b14236bac
fix "system" handling
2012-12-19 23:58:39 +09:00
Yamashita Yuu
4174749b24
replace tr
by shell's IFS
2012-09-07 20:10:10 +09:00
Yamashita Yuu
13122ca9bf
fixed to read multiple versions from PYENV_VERSION
environment variable
2012-09-07 19:16:42 +09:00
Yamashita Yuu
dff57ae35d
s/PYENV_VERSIONS/PYENV_VERSION/ for backward compatibility.
2012-08-31 19:39:29 +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