1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 12:03:49 -05:00

Compare commits

..

20 Commits

Author SHA1 Message Date
Yamashita, Yuu
d74daad8f5 v1.0.2 (fixes #709) 2016-09-20 00:52:19 +00:00
Yamashita, Yuu
5be82cb363 Merge pull request #706 from proinsias/proinsias-miniconda-4.1.11
Latest version of miniconda is 4.1.11 not 4.1.1
2016-09-16 00:19:13 +09:00
Francis T. O'Donovan
89a150f434 Latest version of miniconda is 4.1.11 not 4.1.1
My bad!
2016-09-15 09:49:02 -04:00
Yamashita, Yuu
7214f59385 Merge pull request #705 from proinsias/patch-4
Rearrange 'pyenv install' sections in COMMANDS.md
2016-09-15 22:37:15 +09:00
Francis T. O'Donovan
1fc3b48907 Rearrange 'pyenv install' sections in COMMANDS.md
I noticed that there were 3 sections for `pyenv install`, so I've rearranged these to make 1 section.
2016-09-15 09:28:54 -04:00
Yamashita, Yuu
47b6f545f3 Merge pull request #704 from proinsias/patch-3
Add miniconda3 4.1.1
2016-09-15 12:27:33 +09:00
Yamashita, Yuu
ea7ae1ba1a Merge pull request #703 from proinsias/patch-2
Add miniconda2 4.1.1
2016-09-15 12:27:17 +09:00
Yamashita, Yuu
8b982b1cd4 Merge pull request #702 from proinsias/patch-1
Add anaconda2 4.1.1
2016-09-15 12:26:57 +09:00
Francis T. O'Donovan
fe25b85982 Add miniconda3 4.1.1 2016-09-14 21:58:22 -04:00
Francis T. O'Donovan
a2298f7660 Add miniconda2 4.1.1 2016-09-14 21:57:09 -04:00
Francis T. O'Donovan
fd19e45fa9 Add anaconda2 4.1.1 2016-09-14 21:54:31 -04:00
Yamashita, Yuu
7531e7779f Merge pull request #701 from proinsias/patch-1
Add anaconda3 4.1.1
2016-09-15 07:03:14 +09:00
Francis T. O'Donovan
9c78edcdaf Add anaconda3 4.1.1 2016-09-14 17:34:37 -04:00
Yamashita, Yuu
8305eaefe3 Merge pull request #700 from yyuu/issue687
Remove `bin.orig` if it already exists
2016-09-14 09:56:39 +09:00
Yamashita, Yuu
bc4abf06bd Remove bin.orig if it already exists (fixes #687)
The directory may exist if the `build_package_symlink_version_suffix`
ran multiple times.
2016-09-14 09:54:01 +09:00
s1341
36647a66de Only mv bin to bin.orig the first time, otherwise the mv will fail 2016-09-14 09:53:19 +09:00
Yamashita, Yuu
79fca42c35 Merge pull request #699 from zmwangx/3.6.0b1
Add CPython 3.6.0b1 and remove 3.6.0a4
2016-09-14 09:37:13 +09:00
Zhiming Wang
9dcc477c3f Remove CPython 3.6.0a4 in favor of 3.6.0b1 2016-09-13 00:29:00 -04:00
Zhiming Wang
5462e8df8c Add CPython 3.6.0b1
https://www.python.org/downloads/release/python-360b1/
2016-09-13 00:28:41 -04:00
Yamashita, Yuu
a0c5fe42e9 v1.0.1 (#694) 2016-09-09 05:26:49 +00:00
9 changed files with 100 additions and 25 deletions

View File

@@ -1,5 +1,12 @@
## Version History ## Version History
## 1.0.2
* python-build: Add CPython 3.6.0b1 (#699)
* python-build: Add anaconda[23] 4.1.1 (#701, #702)
* python-build: Add miniconda[23] 4.1.11 (#703, #704, #706)
* python-build: Remove `bin.orig` if exists to fix an issue with `--enable-framework` (#687, #700)
## 1.0.1 ## 1.0.1
* python-build: Add CPython 3.6.0a4 (#673) * python-build: Add CPython 3.6.0a4 (#673)

View File

@@ -185,7 +185,7 @@ or, if you prefer 3.3.3 over 2.7.6,
## `pyenv install` ## `pyenv install`
Install a Python version (using `python-build`). Install a Python version (using [`python-build`](https://github.com/yyuu/pyenv/tree/master/plugins/python-build)).
Usage: pyenv install [-f] [-kvp] <version> Usage: pyenv install [-f] [-kvp] <version>
pyenv install [-f] [-kvp] <definition-file> pyenv install [-f] [-kvp] <definition-file>
@@ -203,6 +203,18 @@ Install a Python version (using `python-build`).
-p/--patch Apply a patch from stdin before building -p/--patch Apply a patch from stdin before building
-g/--debug Build a debug version -g/--debug Build a debug version
To list the all available versions of Python, including Anaconda, Jython, pypy, and stackless, use:
$ pyenv install --list
Then install the desired versions:
$ pyenv install 2.7.6
$ pyenv install 2.6.8
$ pyenv versions
system
2.6.8
* 2.7.6 (set by /home/yyuu/.pyenv/version)
## `pyenv uninstall` ## `pyenv uninstall`
@@ -264,24 +276,3 @@ Lists all Python versions with the given command installed.
2.6.8 2.6.8
2.7.6 2.7.6
3.3.3 3.3.3
## `pyenv install`
Part of [Python-build](https://github.com/yyuu/pyenv/tree/master/plugins/python-build), this installs versions of python
$ pyenv install 2.7.6
$ pyenv install 2.6.8
$ pyenv versions
system
2.6.8
* 2.7.6 (set by /home/yyuu/.pyenv/version)
## `pyenv install --list`
List available remote versions of Python, including Anaconda, Jython, pypy, and stackless
$ pyenv install --list

View File

@@ -12,7 +12,7 @@
set -e set -e
[ -n "$PYENV_DEBUG" ] && set -x [ -n "$PYENV_DEBUG" ] && set -x
version="1.0.1" version="1.0.2"
git_revision="" git_revision=""
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then

View File

@@ -1470,6 +1470,7 @@ build_package_symlink_version_suffix() {
if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
if [ -e "${PREFIX_PATH}/bin" ]; then if [ -e "${PREFIX_PATH}/bin" ]; then
# Always create `bin` as symlink to framework path if the version was built with `--enable-frameowrk` (#590) # Always create `bin` as symlink to framework path if the version was built with `--enable-frameowrk` (#590)
rm -rf "${PREFIX_PATH}/bin.orig"
mv -f "${PREFIX_PATH}/bin" "${PREFIX_PATH}/bin.orig" mv -f "${PREFIX_PATH}/bin" "${PREFIX_PATH}/bin.orig"
fi fi
# Only symlinks are installed in ${PREFIX_PATH}/bin # Only symlinks are installed in ${PREFIX_PATH}/bin

View File

@@ -2,7 +2,7 @@
install_package "openssl-1.0.2g" "https://www.openssl.org/source/openssl-1.0.2g.tar.gz#b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33" mac_openssl --if has_broken_mac_openssl install_package "openssl-1.0.2g" "https://www.openssl.org/source/openssl-1.0.2g.tar.gz#b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33" mac_openssl --if has_broken_mac_openssl
install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
if has_tar_xz_support; then if has_tar_xz_support; then
install_package "Python-3.6.0a4" "https://www.python.org/ftp/python/3.6.0/Python-3.6.0a4.tar.xz#63acec349d20de412682f64c013f7c3374c695430b44e1c0ef12076da1d7fd2c" ldflags_dirs standard verify_py36 ensurepip install_package "Python-3.6.0b1" "https://www.python.org/ftp/python/3.6.0/Python-3.6.0b1.tar.xz#a83b094a8abf8a1fba7c548a5e8dd0aabe87a87a6ebd87c97f4a5a2527a74d42" ldflags_dirs standard verify_py36 ensurepip
else else
install_package "Python-3.6.0a4" "https://www.python.org/ftp/python/3.6.0/Python-3.6.0a4.tgz#3cedd7c1462b41648c779b0c88d0acf4fa298179014ffe75791af9da166fed62" ldflags_dirs standard verify_py36 ensurepip install_package "Python-3.6.0b1" "https://www.python.org/ftp/python/3.6.0/Python-3.6.0b1.tgz#41e8e4e8f6d44992f9cb979da2a2927c60554045fe0a2ee556e0bf8fe5f7014f" ldflags_dirs standard verify_py36 ensurepip
fi fi

View File

@@ -0,0 +1,19 @@
case "$(anaconda_architecture 2>/dev/null || true)" in
"Linux-x86" )
install_script "Anaconda2-4.1.1-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-4.1.1-Linux-x86.sh#1ab001c7a469345a90d549ebf4afa3376f0f3a57a0df5f042cac7d773b0e0b0d" "anaconda" verify_py27
;;
"Linux-x86_64" )
install_script "Anaconda2-4.1.1-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-4.1.1-Linux-x86_64.sh#9413b1d3ca9498ba6f53913df9c43d685dd973440ff10b7fe0c45b1cbdcb582e" "anaconda" verify_py27
;;
"MacOSX-x86_64" )
install_script "Anaconda2-4.1.1-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-4.1.1-MacOSX-x86_64.sh#3b2fb323eb26c1c58788f63c41e164c20c417f7f24e30b8057e92ab4d6102b70" "anaconda" verify_py27
;;
* )
{ echo
colorize 1 "ERROR"
echo ": The binary distribution of Anaconda2 is not available for $(anaconda_architecture 2>/dev/null || true)."
echo
} >&2
exit 1
;;
esac

View File

@@ -0,0 +1,19 @@
case "$(anaconda_architecture 2>/dev/null || true)" in
"Linux-x86" )
install_script "Anaconda3-4.1.1-Linux-x86" "https://repo.continuum.io/archive/Anaconda3-4.1.1-Linux-x86.sh#931626363f4030c7a1e8897549b1d3589dc3f429874dc3dd8a79869ecf5c895c" "anaconda" verify_py35
;;
"Linux-x86_64" )
install_script "Anaconda3-4.1.1-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda3-4.1.1-Linux-x86_64.sh#4f5c95feb0e7efeadd3d348dcef117d7787c799f24b0429e45017008f3534e55" "anaconda" verify_py35
;;
"MacOSX-x86_64" )
install_script "Anaconda3-4.1.1-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda3-4.1.1-MacOSX-x86_64.sh#7c3c06e9281c41f1213d357cb5f233fd99d6d0db6bdba8d9fd7cfad1f1a85df9" "anaconda" verify_py35
;;
* )
{ echo
colorize 1 "ERROR"
echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)."
echo
} >&2
exit 1
;;
esac

View File

@@ -0,0 +1,19 @@
case "$(anaconda_architecture 2>/dev/null || true)" in
"Linux-x86" )
install_script "Miniconda2-4.1.11-Linux-x86" "https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86.sh#5c4f6e121ddcbd24c7f7d3e7a6ce06c60cf2c98b14895620f1d7805d75bc5a9f" "miniconda" verify_py27
;;
"Linux-x86_64" )
install_script "Miniconda2-4.1.11-Linux-x86_64" "https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86_64.sh#4cdd4707c8bd2959551e40c6d4561ebec2711e034a04305e2dd1f88f038edb04" "miniconda" verify_py27
;;
"MacOSX-x86_64" )
install_script "Miniconda2-4.1.11-MacOSX-x86_64" "https://repo.continuum.io/miniconda/Miniconda2-4.1.11-MacOSX-x86_64.sh#a974389c7aab8058f14fa7d4bc00e5bb5316a3da4b0ca1463b854701532297d7" "miniconda" verify_py27
;;
* )
{ echo
colorize 1 "ERROR"
echo ": The binary distribution of Miniconda2 is not available for $(anaconda_architecture 2>/dev/null || true)."
echo
} >&2
exit 1
;;
esac

View File

@@ -0,0 +1,19 @@
case "$(anaconda_architecture 2>/dev/null || true)" in
"Linux-x86" )
install_script "Miniconda3-4.1.11-Linux-x86" "https://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86.sh#4e89584027016060ce4e1dc40b8cb9e1c2dfd0d9f99335fca48d419ec90753c5" "miniconda" verify_py35
;;
"Linux-x86_64" )
install_script "Miniconda3-4.1.11-Linux-x86_64" "https://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86_64.sh#efd6a9362fc6b4085f599a881d20e57de628da8c1a898c08ec82874f3bad41bf" "miniconda" verify_py35
;;
"MacOSX-x86_64" )
install_script "Miniconda3-4.1.11-MacOSX-x86_64" "https://repo.continuum.io/miniconda/Miniconda3-4.1.11-MacOSX-x86_64.sh#c4e3ba528721278f74e68ef070493a27d920ba10432dd2c2d563774799eda79c" "miniconda" verify_py35
;;
* )
{ echo
colorize 1 "ERROR"
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
echo
} >&2
exit 1
;;
esac