mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 03:53:48 -05:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80414b1b5b | ||
|
|
e389c8d906 | ||
|
|
cd7c8af487 | ||
|
|
835707da22 | ||
|
|
ee7b974160 | ||
|
|
62213bbfff | ||
|
|
75ca7613ad | ||
|
|
21c75c19e3 | ||
|
|
99346da8eb | ||
|
|
1a276f2d78 | ||
|
|
650d9bd652 | ||
|
|
5603eb51c9 | ||
|
|
c6e3f95f67 | ||
|
|
7190216884 |
@@ -1,8 +1,14 @@
|
|||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
## 1.2.8
|
||||||
|
|
||||||
|
* python-build: Add CPython 3.7.1
|
||||||
|
* python-build: Add CPython 3.6.7
|
||||||
|
* python-build: Add anaconda[23]-5.3.0 (#1220)
|
||||||
|
|
||||||
## 1.2.7
|
## 1.2.7
|
||||||
|
|
||||||
* python-build: Add CPython 3.6.7 (#1199)
|
* python-build: Add CPython 3.5.6 (#1199)
|
||||||
* python-build: Add CPython 3.4.9
|
* python-build: Add CPython 3.4.9
|
||||||
|
|
||||||
## 1.2.6
|
## 1.2.6
|
||||||
|
|||||||
17
README.md
17
README.md
@@ -48,7 +48,7 @@ This project was forked from [rbenv](https://github.com/rbenv/rbenv) and
|
|||||||
* **[Installation](#installation)**
|
* **[Installation](#installation)**
|
||||||
* [Basic GitHub Checkout](#basic-github-checkout)
|
* [Basic GitHub Checkout](#basic-github-checkout)
|
||||||
* [Upgrading](#upgrading)
|
* [Upgrading](#upgrading)
|
||||||
* [Homebrew on Mac OS X](#homebrew-on-mac-os-x)
|
* [Homebrew on macOS](#homebrew-on-macos)
|
||||||
* [Advanced Configuration](#advanced-configuration)
|
* [Advanced Configuration](#advanced-configuration)
|
||||||
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
||||||
* **[Command Reference](#command-reference)**
|
* **[Command Reference](#command-reference)**
|
||||||
@@ -167,7 +167,7 @@ We'd recommend to install pyenv-virtualenv as well if you have some plan to play
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
If you're on Mac OS X, consider [installing with Homebrew](#homebrew-on-mac-os-x).
|
If you're on macOS, consider [installing with Homebrew](#homebrew-on-macos).
|
||||||
|
|
||||||
|
|
||||||
### The automatic installer
|
### The automatic installer
|
||||||
@@ -219,7 +219,12 @@ easy to fork and contribute any changes back upstream.
|
|||||||
```sh
|
```sh
|
||||||
$ exec "$SHELL"
|
$ exec "$SHELL"
|
||||||
```
|
```
|
||||||
5. **Install Python versions into `$(pyenv root)/versions`.**
|
|
||||||
|
5. **Install Python build dependencies** before attempting to install a new Python version. The
|
||||||
|
[pyenv wiki](https://github.com/pyenv/pyenv/wiki) provides suggested installation packages
|
||||||
|
and commands for various operating systems.
|
||||||
|
|
||||||
|
6. **Install Python versions into `$(pyenv root)/versions`.**
|
||||||
For example, to download and install Python 2.7.8, run:
|
For example, to download and install Python 2.7.8, run:
|
||||||
```sh
|
```sh
|
||||||
$ pyenv install 2.7.8
|
$ pyenv install 2.7.8
|
||||||
@@ -281,10 +286,10 @@ uninstall from the system.
|
|||||||
|
|
||||||
brew uninstall pyenv
|
brew uninstall pyenv
|
||||||
|
|
||||||
### Homebrew on Mac OS X
|
### Homebrew on macOS
|
||||||
|
|
||||||
You can also install pyenv using the [Homebrew](http://brew.sh)
|
You can also install pyenv using the [Homebrew](https://brew.sh)
|
||||||
package manager for Mac OS X.
|
package manager for macOS.
|
||||||
|
|
||||||
$ brew update
|
$ brew update
|
||||||
$ brew install pyenv
|
$ brew install pyenv
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
version="1.2.7"
|
version="1.2.8"
|
||||||
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
|
||||||
|
|||||||
8
plugins/python-build/share/python-build/3.6.7
Normal file
8
plugins/python-build/share/python-build/3.6.7
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" 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
|
||||||
|
if has_tar_xz_support; then
|
||||||
|
install_package "Python-3.6.7" "https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tar.xz#81fd1401a9d66533b0a3e9e3f4ea1c7c6702d57d5b90d659f971e6f1b745f77d" ldflags_dirs standard verify_py37 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.6.7" "https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz#b7c36f7ed8f7143b2c46153b7332db2227669f583ea0cce753facf549d1a4239" ldflags_dirs standard verify_py37 ensurepip
|
||||||
|
fi
|
||||||
8
plugins/python-build/share/python-build/3.7.1
Normal file
8
plugins/python-build/share/python-build/3.7.1
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" 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
|
||||||
|
if has_tar_xz_support; then
|
||||||
|
install_package "Python-3.7.1" "https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz#fa7e2b8e8c9402f192ad56dc4f814089d1c4466c97d780f5e5acc02c04243d6d" ldflags_dirs standard verify_py37 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.7.1" "https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz#36c1b81ac29d0f8341f727ef40864d99d8206897be96be73dc34d4739c9c9f06" ldflags_dirs standard verify_py37 ensurepip
|
||||||
|
fi
|
||||||
19
plugins/python-build/share/python-build/anaconda2-5.3.0
Normal file
19
plugins/python-build/share/python-build/anaconda2-5.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda2-5.3.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-5.3.0-Linux-x86.sh#58d4229ad7097e1f3387d7f6582dcf2bbc684bffea284cd25096bd87530ba590" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda2-5.3.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.0-Linux-x86_64.sh#50eeaab24bfa2472bc6485fe8f0e612ed67e561eda1ff9fbf07b62c96443c1be" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda2-5.3.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.0-MacOSX-x86_64.sh#bea3eb7667d265c8fe678ddde8432ac1f8286224baae498d092bb068b8185e88" "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
|
||||||
19
plugins/python-build/share/python-build/anaconda3-5.3.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-5.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda3-5.3.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda3-5.3.0-Linux-x86.sh#c15ffac2ae35179a15dc5872e5bb405b4027a0fd76c6817e9cee39545bc5ca0b" "anaconda" verify_py36
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda3-5.3.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.3.0-Linux-x86_64.sh#cfbf5fe70dd1b797ec677e63c61f8efc92dad930fd1c94d60390bb07fdc09959" "anaconda" verify_py36
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda3-5.3.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.3.0-MacOSX-x86_64.sh#bc073b6e6d3b2ef29d01a2caf1de7c206c95968231ef0492d958eae1a314b4e9" "anaconda" verify_py36
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
Reference in New Issue
Block a user