Commit graph

2166 commits

Author SHA1 Message Date
Yamashita Yuu
6222bb743d Just display warning if .pydistutils.cfg exists. 2014-04-01 00:01:51 +09:00
Yamashita Yuu
bce58e9d9a Merge branch 'osx-clang-gcc' (fixes #148)
Conflicts:
	plugins/python-build/share/python-build/2.6-dev
2014-03-30 05:07:41 +09:00
Yamashita Yuu
d4e6a4c3d3 Merge branch 'remove-2.6-dev' 2014-03-29 19:16:23 +09:00
Yamashita Yuu
9eef6c536b The 2.6 branch no longer exists in CPython repo 2014-03-29 17:37:53 +09:00
Yamashita Yuu
d737ae9f03 Fix build problem of CPython 3.1 with Readline 6.3 (#126, #131, #149) 2014-03-29 16:41:26 +09:00
Yamashita Yuu
2da9bfd1f8 Fix build problem of CPython 3.2 with Readline 6.3 (#126, #131, #149) 2014-03-29 16:37:06 +09:00
Yamashita Yuu
3136fce0c0 Fix build problem of CPython 3.3 with Readline 6.3 (#126, #131, #149)
The patch was taken from CPython 3.3.5
2014-03-29 16:36:56 +09:00
Yamashita Yuu
cce1960de0 Fix build problem of CPython 2.6 with Readline 6.3 (#126, #131, #149) 2014-03-29 16:36:36 +09:00
Yamashita Yuu
6641e291ee Fix build problem of CPython 2.7 with Readline 6.3 (#126, #131, #149)
The patch was taken from latest changes in CPython 2.7

* http://hg.python.org/cpython/rev/79b82ebc4fd1
* http://hg.python.org/cpython/rev/5e42e5764ac6
* http://hg.python.org/cpython/rev/0b5b0bfcc7b1
2014-03-29 16:29:21 +09:00
Yamashita Yuu
f5fded3b9d Use cc as $CC if require_cc has called (#148) 2014-03-29 13:09:06 +09:00
Yamashita Yuu
cac8fd7f60 Use colorize in require_clang and require_java 2014-03-29 13:03:01 +09:00
Yamashita Yuu
b55830fb01 Display anaconda_architecture on errors (yyuu/pyenv-virtualenv#18) 2014-03-25 11:44:42 +09:00
Yamashita Yuu
5b9b3f742b Display pypy_architecture on errors 2014-03-25 11:44:35 +09:00
Yamashita Yuu
34065dddbb reads only the first word from file 2014-03-24 19:42:52 +09:00
Yamashita Yuu
ea9214bb2e ignores carriage returns 2014-03-24 18:15:40 +09:00
Mislav Marohnić
f71e22768c Merge pull request #567 from genezys/patch-1
Remove carriage return characters in version file

Fixes #566
2014-03-21 17:22:03 +01:00
Vincent Robert
b025dfcf58 Add \r to IFS instead of removing it manually 2014-03-21 01:36:39 +01:00
Vincent Robert
f205ec8359 Move carriage return test to version-file-read 2014-03-21 01:32:29 +01:00
Vincent Robert
f50cee2ac7 Simplify bash expression 2014-03-20 16:52:45 +01:00
Vincent Robert
3be9773c4f Add test for carriage return in ruby-version file 2014-03-20 16:27:13 +01:00
Vincent Robert
2fd3b18d39 Remove carriage return characters in version file
When created on Windows, .rbenv-version or .ruby-version files may have CR characters that will prevent rbenv from correctly parsing the Ruby version. Discard those characters when reading the file.
2014-03-20 11:30:27 +01:00
Yamashita Yuu
d90cb0ec85 Merge branch 'try-python-module' 2014-03-14 23:03:53 +09:00
Yamashita, Yuu
d75e12298a Merge pull request #141 from Zearin/docs
Updated README.md; Commands moved to COMMANDS.md.
2014-03-22 15:58:31 +09:00
Zearin
addec6339f COMMANDS.md: Match order of commands from pyenv --help
Also added `help` output for `pyenv {,un}install`, since those sections didn’t exist before.

They should probably be revised at some point.  In the meantime, I think something is better than nothing (in this case).
2014-03-20 09:33:32 -04:00
Zearin
abab44df80 COMMANDS.md: Add commands from pyenv --help 2014-03-20 09:24:31 -04:00
Zearin
4afa280066 COMMANDS.md: Minor formatting 2014-03-20 09:20:20 -04:00
Zearin
5c6a812b86 README.md: Add dividers between major sections 2014-03-20 09:19:11 -04:00
Zearin
650c9a3d6e README.md: Minor formatting 2014-03-20 09:17:53 -04:00
Zearin
0933c40179 Move command reference to COMMANDS.md 2014-03-20 09:13:15 -04:00
Yamashita, Yuu
2613e84447 Merge pull request #140 from Zearin/patch-1
README.md: Minor edits and formatting
2014-03-20 12:36:07 +09:00
Tony
d1f78c2716 README.md: Minor edits and formatting 2014-03-19 15:00:54 -04:00
Yamashita, Yuu
cf89abaacf Merge pull request #136 from chronoslynx/master
fix: anaconda_architecture mispelled MacOSX as MaxOSX
2014-03-18 01:16:03 +09:00
Tim Swihart
545052d5ca MacOSX was mispelled as MaxOSX 2014-03-17 09:06:24 -07:00
Yamashita Yuu
0d51899e9b v0.4.0-20140317 2014-03-17 21:51:40 +09:00
Yamashita Yuu
fa32d81579 Update changelog 2014-03-17 21:50:23 +09:00
Yamashita Yuu
164f7bf4a6 Removed beta releases of 3.4.0 (#133) 2014-03-17 18:42:19 +09:00
Yamashita Yuu
7bdd097254 Update setuptools (3.1 -> 3.3) 2014-03-17 17:08:06 +09:00
Yamashita, Yuu
5ae1c803cb Merge pull request #133 from makotosasaki/3.4.0
Add CPython 3.4.0
2014-03-17 16:24:26 +09:00
Makoto Sasaki
f536dca41f Add CPython 3.4.0 2014-03-17 16:06:09 +09:00
Yamashita Yuu
8d951d5025 Remove unused functions. 2014-03-14 22:51:34 +09:00
Yamashita Yuu
5c31c45d05 Do not exit with errors even if some of modules are absent 2014-03-14 22:51:32 +09:00
Yamashita Yuu
0851436caa Add /anaconda-(1.9.0|1.9.1)/ and /miniconda3?-(3.0.4|3.0.5)/ 2014-03-14 21:27:31 +09:00
Daniel Hahler
024bee1a6f Use mktemp -d for RBENV_TEST_DIR
This prevents the tests from removing an existing directory.

Fixes #561 (https://github.com/sstephenson/rbenv/issues/561)
2014-03-13 20:42:34 +01:00
Daniel Hahler
44c20af80e Optimize pyenv-which: implement remove_from_path in Bash
This greatly improves the performance of `pyenv virtualenvwrapper_lazy`,
which happens to call pyenv-which a lot.

For profiling I've initially used:

    % zmodload zsh/zprof
    % eval "$(pyenv init -)"
    % pyenv virtualenvwrapper_lazy

    Before:
    % zprof|grep -E '(pyenv|virtualenv)'
     1)    1         754,07   754,07   58,95%    751,50   751,50   58,75%  pyenv
    21)    1           2,57     2,57    0,20%      2,57     2,57    0,20%  virtualenvwrapper_setup_lazy_loader
     1)    1         754,07   754,07   58,95%    751,50   751,50   58,75%  pyenv
           1/1         2,57     2,57    0,20%      2,57     2,57             virtualenvwrapper_setup_lazy_loader [21]
           1/1         2,57     2,57    0,20%      2,57     2,57             pyenv [1]
    21)    1           2,57     2,57    0,20%      2,57     2,57    0,20%  virtualenvwrapper_setup_lazy_loader

    After:
    % zprof|grep -E '(pyenv|virtualenv)'
     1)    1         383,30   383,30   27,97%    380,88   380,88   27,79%  pyenv
    31)    1           2,42     2,42    0,18%      2,42     2,42    0,18%  virtualenvwrapper_setup_lazy_loader
     1)    1         383,30   383,30   27,97%    380,88   380,88   27,79%  pyenv
           1/1         2,42     2,42    0,18%      2,42     2,42             virtualenvwrapper_setup_lazy_loader [31]
           1/1         2,42     2,42    0,18%      2,42     2,42             pyenv [1]
    31)    1           2,42     2,42    0,18%      2,42     2,42    0,18%  virtualenvwrapper_setup_lazy_loader

Fixes https://github.com/yyuu/pyenv-virtualenvwrapper/issues/13
2014-03-13 19:21:32 +01:00
Yamashita Yuu
65ae0a3261 v0.4.0-20140311 2014-03-11 11:55:44 +09:00
Yamashita Yuu
24df447e44 Update changelog 2014-03-11 11:54:16 +09:00
Yamashita Yuu
a380250881 Update setuptools (2.2 -> 3.1) 2014-03-11 11:53:13 +09:00
Yamashita Yuu
ff38d6935d Add CPython 3.4.0rc3 2014-03-11 11:44:06 +09:00
Yamashita Yuu
27e1c25cf7 Remove release candidates of CPython 3.3.5 2014-03-11 11:41:01 +09:00
Yamashita Yuu
a5c34a6c00 Add CPython 3.3.5 (closes #127) 2014-03-11 11:39:49 +09:00