mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 12:03:49 -05:00
Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abbb606041 | ||
|
|
359aa1f4c6 | ||
|
|
b95d0d9542 | ||
|
|
15ff779eb5 | ||
|
|
f35aea984f | ||
|
|
806b9384a1 | ||
|
|
5861aee062 | ||
|
|
967d9b6a1b | ||
|
|
ed2d2a921e | ||
|
|
143e0be9fc | ||
|
|
694b551935 | ||
|
|
59846ca9b1 | ||
|
|
adbb59ed2c | ||
|
|
05143526f4 | ||
|
|
296ce06d69 | ||
|
|
3daed2e517 | ||
|
|
a8e207f330 | ||
|
|
5f74547379 | ||
|
|
23e1c5049f | ||
|
|
7ca1923a44 | ||
|
|
445d59ae2e | ||
|
|
bc9687576e | ||
|
|
907a86b743 | ||
|
|
812f02662b | ||
|
|
5c0570cdc0 | ||
|
|
43c4063f51 | ||
|
|
aab718844a | ||
|
|
59050aa093 | ||
|
|
42349d9d24 | ||
|
|
2ba2d8797b | ||
|
|
04d9342f82 | ||
|
|
d85bc23592 | ||
|
|
f114557698 | ||
|
|
95ad305bcb | ||
|
|
6c0625710f | ||
|
|
86e1b9a8ad | ||
|
|
b64c445b61 | ||
|
|
1864fd7b93 | ||
|
|
6f27c91b5f |
21
.github/ISSUE_TEMPLATE.md
vendored
Normal file
21
.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Too many issues will kill our team's development velocity, drastically.
|
||||||
|
Make sure you have checked all steps below.
|
||||||
|
|
||||||
|
### Prerequisite
|
||||||
|
* [ ] Make sure your problem is not listed in [the common build problems](https://github.com/pyenv/pyenv/wiki/Common-build-problems).
|
||||||
|
* [ ] Make sure no duplicated issue has already been reported in [the pyenv issues](https://github.com/pyenv/pyenv/issues). You should look for closed issues, too.
|
||||||
|
* [ ] Make sure you are not asking us to help solving your specific issue.
|
||||||
|
* GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like [Gitter](https://gitter.im/yyuu/pyenv), [StackOverflow](https://stackoverflow.com/questions/tagged/pyenv), etc.
|
||||||
|
* [ ] Make sure your problem is not derived from packaging (e.g. [Homebrew](https://brew.sh)).
|
||||||
|
* Please refer to the package documentation for the installation issues, etc.
|
||||||
|
* [ ] Make sure your problem is not derived from plugins.
|
||||||
|
* This repository is maintaining `pyenv` and the default `python-build` plugin only. Please refrain from reporting issues of other plugins here.
|
||||||
|
|
||||||
|
### Description
|
||||||
|
- [ ] Platform information (e.g. Ubuntu Linux 16.04):
|
||||||
|
- [ ] OS architecture (e.g. amd64):
|
||||||
|
- [ ] pyenv version:
|
||||||
|
- [ ] Python version:
|
||||||
|
- [ ] C Compiler information (e.g. gcc 7.3):
|
||||||
|
- [ ] Please attach verbose build log as gist
|
||||||
|
* You can turn on verbose debug logging using by setting `PYENV_DEBUG=1`, e.g. `env PYENV_DEBUG=1 pyenv install -v 3.6.4`
|
||||||
16
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
16
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Make sure you have checked all steps below.
|
||||||
|
|
||||||
|
### Prerequisite
|
||||||
|
* [ ] Please consider implementing the feature as a hook script or plugin as a first step.
|
||||||
|
* pyenv has some powerful support for plugins and hook scripts. Please refer to [Authoring plugins](https://github.com/pyenv/pyenv/wiki/Authoring-plugins) for details and try to implement it as a plugin if possible.
|
||||||
|
* [ ] Please consider contributing the patch upstream to [rbenv](https://github.com/rbenv/rbenv), since we have borrowed most of the code from this project.
|
||||||
|
* We are occasionally importing the changes from rbenv. In general, you can expect some changes made in rbenv will be imported to pyenv too, eventually.
|
||||||
|
* Generaly speaking, we sometimes don't prefer to make some change in the core to keep compatibility with rbenv.
|
||||||
|
* [ ] My PR addresses the following pyenv issue (if any)
|
||||||
|
- https://github.com/pyenv/pyenv/issues/XXXX
|
||||||
|
|
||||||
|
### Description
|
||||||
|
- [ ] Here are some details about my PR
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
- [ ] My PR adds the following unit tests (if any)
|
||||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
|||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
## 1.2.3
|
||||||
|
|
||||||
|
* python-build: Add CPython 3.5.6
|
||||||
|
* python-build: Set openssl PKG_CONFIG_PATH for python 3.7 (#1117)
|
||||||
|
* python-build: Add ActivePython versions 2.7.14, 3.5.4, 3.6.0 (#1113)
|
||||||
|
* python-build: Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error (#1124)
|
||||||
|
|
||||||
|
## 1.2.2
|
||||||
|
|
||||||
|
* python-build: Add PyPy3 5.10.1 (#1084)
|
||||||
|
* python-build: Add CPython 3.5.5 (#1090)
|
||||||
|
* python-build: Add Anaconda[23]-5.1.0 (#1100)
|
||||||
|
* python-build: Fix checksum issue for CPython 3.4.8 (#1094)
|
||||||
|
* python-build: Prevent Anaconda from installing a `clear` shim (#1084)
|
||||||
## 1.2.1
|
## 1.2.1
|
||||||
|
|
||||||
* python-build: Add CPython 3.6.4
|
* python-build: Add CPython 3.6.4
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -11,7 +11,7 @@ tools that do one thing well.
|
|||||||
This project was forked from [rbenv](https://github.com/rbenv/rbenv) and
|
This project was forked from [rbenv](https://github.com/rbenv/rbenv) and
|
||||||
[ruby-build](https://github.com/rbenv/ruby-build), and modified for Python.
|
[ruby-build](https://github.com/rbenv/ruby-build), and modified for Python.
|
||||||
|
|
||||||
<img src="https://i.gyazo.com/699a58927b77e46e71cd674c7fc7a78d.png" width="735" height="490" />
|

|
||||||
|
|
||||||
|
|
||||||
### pyenv _does..._
|
### pyenv _does..._
|
||||||
@@ -195,8 +195,8 @@ easy to fork and contribute any changes back upstream.
|
|||||||
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
|
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
|
||||||
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
||||||
```
|
```
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
**Proxy note**: If you use a proxy, export `http_proxy` and `HTTPS_PROXY` too.
|
**Proxy note**: If you use a proxy, export `http_proxy` and `HTTPS_PROXY` too.
|
||||||
|
|
||||||
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
||||||
@@ -205,7 +205,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
```sh
|
```sh
|
||||||
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
||||||
```
|
```
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
**General warning**: There are some systems where the `BASH_ENV` variable is configured
|
**General warning**: There are some systems where the `BASH_ENV` variable is configured
|
||||||
@@ -381,3 +381,11 @@ tracker](https://github.com/pyenv/pyenv/issues).
|
|||||||
|
|
||||||
[pyenv-virtualenv]: https://github.com/pyenv/pyenv-virtualenv#readme
|
[pyenv-virtualenv]: https://github.com/pyenv/pyenv-virtualenv#readme
|
||||||
[hooks]: https://github.com/pyenv/pyenv/wiki/Authoring-plugins#pyenv-hooks
|
[hooks]: https://github.com/pyenv/pyenv/wiki/Authoring-plugins#pyenv-hooks
|
||||||
|
|
||||||
|
### Version History
|
||||||
|
|
||||||
|
See [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
|
||||||
|
### License
|
||||||
|
|
||||||
|
[The MIT License](LICENSE)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
version="1.2.1"
|
version="1.2.3"
|
||||||
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
|
||||||
|
|||||||
@@ -1068,6 +1068,26 @@ build_package_pypy_builder() {
|
|||||||
build_package_pypy
|
build_package_pypy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
activepython_architecture() {
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin" ) echo "macosx10.9-i386-x86_64" ;;
|
||||||
|
"Linux" )
|
||||||
|
case "$(uname -m)" in
|
||||||
|
"i368" | "i486" | "i586" | "i686" | "i786" ) echo "linux-x86" ;;
|
||||||
|
"x86_64" ) echo "linux-x86_64" ;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
build_package_activepython() {
|
||||||
|
local package_name="$1"
|
||||||
|
{ bash "install.sh" --install-dir "${PREFIX_PATH}"
|
||||||
|
} >&4 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
anaconda_architecture() {
|
anaconda_architecture() {
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
"Darwin" ) echo "MacOSX-x86_64" ;;
|
"Darwin" ) echo "MacOSX-x86_64" ;;
|
||||||
@@ -1467,6 +1487,7 @@ use_homebrew_openssl() {
|
|||||||
local ssldir="$(brew --prefix openssl 2>/dev/null || true)"
|
local ssldir="$(brew --prefix openssl 2>/dev/null || true)"
|
||||||
if [ -d "$ssldir" ]; then
|
if [ -d "$ssldir" ]; then
|
||||||
echo "python-build: use openssl from homebrew"
|
echo "python-build: use openssl from homebrew"
|
||||||
|
export PKG_CONFIG_PATH="$ssldir/lib/pkgconfig/:${PKG_CONFIG_PATH}"
|
||||||
export CPPFLAGS="-I$ssldir/include ${CPPFLAGS}"
|
export CPPFLAGS="-I$ssldir/include ${CPPFLAGS}"
|
||||||
export LDFLAGS="-L$ssldir/lib ${LDFLAGS}"
|
export LDFLAGS="-L$ssldir/lib ${LDFLAGS}"
|
||||||
else
|
else
|
||||||
@@ -1773,6 +1794,11 @@ build_package_verify_py37() {
|
|||||||
build_package_verify_py36 "$1" "${2:-3.7}"
|
build_package_verify_py36 "$1" "${2:-3.7}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Post-install check for Python 3.8.x
|
||||||
|
build_package_verify_py38() {
|
||||||
|
build_package_verify_py37 "$1" "${2:-3.8}"
|
||||||
|
}
|
||||||
|
|
||||||
build_package_ez_setup() {
|
build_package_ez_setup() {
|
||||||
local ez_setup="ez_setup.py"
|
local ez_setup="ez_setup.py"
|
||||||
rm -f "${ez_setup}"
|
rm -f "${ez_setup}"
|
||||||
@@ -1780,7 +1806,7 @@ build_package_ez_setup() {
|
|||||||
echo "Installing setuptools from ${EZ_SETUP}..." 1>&2
|
echo "Installing setuptools from ${EZ_SETUP}..." 1>&2
|
||||||
cat "${EZ_SETUP}"
|
cat "${EZ_SETUP}"
|
||||||
else
|
else
|
||||||
[ -n "${EZ_SETUP_URL}" ] || EZ_SETUP_URL="https://bootstrap.pypa.io/ez_setup.py"
|
[ -n "${EZ_SETUP_URL}" ]
|
||||||
echo "Installing setuptools from ${EZ_SETUP_URL}..." 1>&2
|
echo "Installing setuptools from ${EZ_SETUP_URL}..." 1>&2
|
||||||
http get "${EZ_SETUP_URL}"
|
http get "${EZ_SETUP_URL}"
|
||||||
fi
|
fi
|
||||||
@@ -1799,7 +1825,7 @@ build_package_get_pip() {
|
|||||||
echo "Installing pip from ${GET_PIP}..." 1>&2
|
echo "Installing pip from ${GET_PIP}..." 1>&2
|
||||||
cat "${GET_PIP}"
|
cat "${GET_PIP}"
|
||||||
else
|
else
|
||||||
[ -n "${GET_PIP_URL}" ] || GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"
|
[ -n "${GET_PIP_URL}" ]
|
||||||
echo "Installing pip from ${GET_PIP_URL}..." 1>&2
|
echo "Installing pip from ${GET_PIP_URL}..." 1>&2
|
||||||
http get "${GET_PIP_URL}"
|
http get "${GET_PIP_URL}"
|
||||||
fi
|
fi
|
||||||
@@ -2082,11 +2108,22 @@ if [ -e "$HOME/.pydistutils.cfg" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Download specified version of ez_setup.py/get-pip.py (#202)
|
# Download specified version of ez_setup.py/get-pip.py (#202)
|
||||||
if [ -n "${SETUPTOOLS_VERSION}" ]; then
|
if [ -z "${EZ_SETUP_URL}" ]; then
|
||||||
EZ_SETUP_URL="https://bitbucket.org/pypa/setuptools/raw/${SETUPTOOLS_VERSION}/ez_setup.py"
|
if [ -n "${SETUPTOOLS_VERSION}" ]; then
|
||||||
|
EZ_SETUP_URL="https://bitbucket.org/pypa/setuptools/raw/${SETUPTOOLS_VERSION}/ez_setup.py"
|
||||||
|
unset SETUPTOOLS_VERSION
|
||||||
|
else
|
||||||
|
EZ_SETUP_URL="https://bootstrap.pypa.io/ez_setup.py"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -n "${PIP_VERSION}" ]; then
|
if [ -z "${GET_PIP_URL}" ]; then
|
||||||
GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py"
|
if [ -n "${PIP_VERSION}" ]; then
|
||||||
|
GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py"
|
||||||
|
# Unset `PIP_VERSION` from environment before invoking `get-pip.py` to deal with "ValueError: invalid truth value" (pypa/pip#4528)
|
||||||
|
unset PIP_VERSION
|
||||||
|
else
|
||||||
|
GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set MACOSX_DEPLOYMENT_TARGET from the product version of OS X (#219, #220)
|
# Set MACOSX_DEPLOYMENT_TARGET from the product version of OS X (#219, #220)
|
||||||
|
|||||||
8
plugins/python-build/share/python-build/3.4.8
Normal file
8
plugins/python-build/share/python-build/3.4.8
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.4.8" "https://www.python.org/ftp/python/3.4.8/Python-3.4.8.tar.xz#29a472fa902c7b2add152f5e1e82e0885a8d360645689c1db5d1949a7e8ac3ea" ldflags_dirs standard verify_py34 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.4.8" "https://www.python.org/ftp/python/3.4.8/Python-3.4.8.tgz#8b1a1ce043e132082d29a5d09f2841f193c77b631282a82f98895a5dbaba1639" ldflags_dirs standard verify_py34 ensurepip
|
||||||
|
fi
|
||||||
8
plugins/python-build/share/python-build/3.5.5
Normal file
8
plugins/python-build/share/python-build/3.5.5
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.5.5" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tar.xz#063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009" ldflags_dirs standard verify_py35 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.5.5" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz#2f988db33913dcef17552fd1447b41afb89dbc26e3cdfc068ea6c62013a3a2a5" ldflags_dirs standard verify_py35 ensurepip
|
||||||
|
fi
|
||||||
8
plugins/python-build/share/python-build/3.5.5rc1
Normal file
8
plugins/python-build/share/python-build/3.5.5rc1
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.5.5rc1" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5rc1.tar.xz#e30ca77929c859c25cd19afafa247c63d6046ec06a7f8fe6e316e6ed62781b3e" ldflags_dirs standard verify_py35 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.5.5rc1" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5rc1.tgz#95182d74ba96bbed4db3f01fc0b9defcc90bf0acdf36c3713be4dc1d4056d4cc" ldflags_dirs standard verify_py35 ensurepip
|
||||||
|
fi
|
||||||
8
plugins/python-build/share/python-build/3.6.5
Normal file
8
plugins/python-build/share/python-build/3.6.5
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.5" "https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz#f434053ba1b5c8a5cc597e966ead3c5143012af827fd3f0697d21450bb8d87a6" ldflags_dirs standard verify_py36 ensurepip
|
||||||
|
else
|
||||||
|
install_package "Python-3.6.5" "https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz#53a3e17d77cd15c5230192b6a8c1e031c07cd9f34a2f089a731c6f6bd343d5c6" ldflags_dirs standard verify_py36 ensurepip
|
||||||
|
fi
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#require_gcc
|
#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 "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
|
install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_git "Python-3.7-dev" "https://github.com/python/cpython" master standard verify_py37 ensurepip
|
install_git "Python-3.7-dev" "https://github.com/python/cpython" "3.7" standard verify_py37 ensurepip
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
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 "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
|
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.7.0a3" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0a3.tar.xz#3432d3ddf97483339badda961f7d0564595460fee166dd8f106dc4201e68446e" ldflags_dirs standard verify_py37 ensurepip
|
install_package "Python-3.7.0b2" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0b2.tar.xz#92082de7fafdcdab61a91b908f32b35f13a7aef3c2671c0fa388eb574c3fc882" ldflags_dirs standard verify_py37 ensurepip
|
||||||
else
|
else
|
||||||
install_package "Python-3.7.0a3" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0a3.tgz#ef75398e6f978a4ead005b11d988ab2d871cf24afa4bdeef97fe09b506a76736" ldflags_dirs standard verify_py37 ensurepip
|
install_package "Python-3.7.0b2" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0b2.tgz#2c787957e79bc916c913d6aeea899f07539729329ea76500387fd11cf1bd3b0a" ldflags_dirs standard verify_py37 ensurepip
|
||||||
fi
|
fi
|
||||||
4
plugins/python-build/share/python-build/3.8-dev
Normal file
4
plugins/python-build/share/python-build/3.8-dev
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#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
|
||||||
|
install_git "Python-3.8-dev" "https://github.com/python/cpython" master standard verify_py38 ensurepip
|
||||||
15
plugins/python-build/share/python-build/activepython-2.7.14
Normal file
15
plugins/python-build/share/python-build/activepython-2.7.14
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Download source: http://downloads.activestate.com/ActivePython/releases/2.7.14.2717/
|
||||||
|
|
||||||
|
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||||
|
"linux-x86_64" )
|
||||||
|
install_package "ActivePython-2.7.14.2717-linux-x86_64-glibc-2.12-404899" "http://downloads.activestate.com/ActivePython/releases/2.7.14.2717/ActivePython-2.7.14.2717-linux-x86_64-glibc-2.12-404899.tar.gz#0b514b0edb6b847524d44637f56fdebcedb007864c61f8500e68bc2015dad937" "activepython" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
15
plugins/python-build/share/python-build/activepython-3.5.4
Normal file
15
plugins/python-build/share/python-build/activepython-3.5.4
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Location source: http://downloads.activestate.com/ActivePython/releases/3.5.4.3504/
|
||||||
|
|
||||||
|
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||||
|
"linux-x86_64" )
|
||||||
|
install_package "ActivePython-3.5.4.3504-linux-x86_64-glibc-2.12-404899" "http://downloads.activestate.com/ActivePython/releases/3.5.4.3504/ActivePython-3.5.4.3504-linux-x86_64-glibc-2.12-404899.tar.gz#c65e7384bcff715399ef077aea5a17a9f60c3f5de3532a3767497af1d555f092" "activepython" verify_py35
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
18
plugins/python-build/share/python-build/activepython-3.6.0
Normal file
18
plugins/python-build/share/python-build/activepython-3.6.0
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Download source: http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/
|
||||||
|
|
||||||
|
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||||
|
"linux-x86_64" )
|
||||||
|
install_package "ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834" "http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834.tar.gz#edd17d3221d9744fe27d37842b325f55d0261e69073de3be54e29c1806fe57ae" "activepython" verify_py36
|
||||||
|
;;
|
||||||
|
"linux-x86" )
|
||||||
|
install_package "ActivePython-3.6.0.3600-linux-x86-glibc-2.3.6-401834" "http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86-glibc-2.3.6-401834.tar.gz#fafa22ad3346532384866ad009da0c9f23323167dff9de5995f94e827a5eba32" "activepython" verify_py36
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda2-5.1.0
Normal file
19
plugins/python-build/share/python-build/anaconda2-5.1.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda2-5.1.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-5.1.0-Linux-x86.sh#5af0c7a09a5f3aaf3666c0b362246d342d80e782128ef043998c9ead5ad41df7" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda2-5.1.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.1.0-Linux-x86_64.sh#5f26ee92860d1dffdcd20910ff2cf75572c39d2892d365f4e867a611cca2af5b" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda2-5.1.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.1.0-MacOSX-x86_64.sh#b686e01aeadb33526d9c154a0ac6f691dfad135080df96fb44d3ae1e4b128521" "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.1.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-5.1.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda3-5.1.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86.sh#0e940272517d8f8a6f26316a19e4be2bdaea8477a3a32cc2ecee7b48fd0fae84" "anaconda" verify_py36
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda3-5.1.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh#7e6785caad25e33930bc03fac4994a434a21bc8401817b7efa28f53619fa9c29" "anaconda" verify_py36
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda3-5.1.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.1.0-MacOSX-x86_64.sh#be705b3c3a0ca29ee32ce7658890bb5edb32a9eadedc09dec3d7e3cfbfd23cb7" "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
|
||||||
58
plugins/python-build/share/python-build/pypy3.5-5.10.1
Normal file
58
plugins/python-build/share/python-build/pypy3.5-5.10.1
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
case "$(pypy_architecture 2>/dev/null || true)" in
|
||||||
|
"linux" )
|
||||||
|
if require_distro "Ubuntu 14.04" 1>/dev/null 2>&1; then
|
||||||
|
install_package "pypy3-v5.10.1-linux32" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-linux32.tar.bz2#a6ceca9ee5dc511de7902164464b88311fec9366c5673d0c00528eda862bbe54" "pypy" verify_py27 ensurepip
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"linux64" )
|
||||||
|
if require_distro "Ubuntu 14.04" "Ubuntu 16.04" 1>/dev/null 2>&1; then
|
||||||
|
install_package "pypy3-v5.10.1-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-linux64.tar.bz2#75a276e1ee1863967bbacb70c5bff636de200768c0ec90e72f7ec17aace0aefe" "pypy" verify_py27 ensurepip
|
||||||
|
else
|
||||||
|
install_package "pypy3.5-5.10.1-linux_x86_64-portable" "https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-5.10.1-linux_x86_64-portable.tar.bz2#b7c7b0e0905208ce8a8061b1a0ae136a702e5218d0d350cb5216ad5a7c20d12e" "pypy" verify_py35 ensurepip
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"linux-armel" )
|
||||||
|
require_distro "Ubuntu 12.04" || true
|
||||||
|
install_package "pypy3-v5.10.1-linux-armel" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-linux-armel.tar.bz2#5065e9ad958d06b9612ba974f43997d20168d4245c054dd43270e4b458782282" "pypy" verify_py27 ensurepip
|
||||||
|
;;
|
||||||
|
"linux-armhf" )
|
||||||
|
if [[ "$(cat /etc/issue 2>/dev/null || true)" == "Raspbian"* ]]; then
|
||||||
|
install_package "pypy3-v5.10.1-linux-armhf-raspbian" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-linux-armhf-raspbian.tar.bz2#203dd595fbad7055340b23326f20c85b0d6c11c4877e3559a437611fc2ac40c2" "pypy" verify_py27 ensurepip
|
||||||
|
else
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)."
|
||||||
|
echo "try 'pypy3.5-5.10.1-src' to build from source."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"osx64" )
|
||||||
|
if require_osx_version "10.13"; then
|
||||||
|
install_package "pypy3-v5.10.1-osx64" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-osx64.tar.bz2#52f006611513c995fdebba6e72d394186d4085460408cbbe086e5467bf3fb9b6" "pypy" verify_py27 ensurepip
|
||||||
|
else
|
||||||
|
# install_package "pypy3-v5.10.1-osx64-2" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-osx64-2.tar.bz2#" "pypy" verify_py27 ensurepip
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true), OS X < 10.13."
|
||||||
|
echo "try 'pypy3.5-5.10.1-src' to build from source."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"win32" )
|
||||||
|
# FIXME: never tested on Windows
|
||||||
|
install_zip "pypy3-v5.10.1-win32" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-win32.zip#4edf4f021689a529e5a631c5cca72a1a9dc19a6ea2091e64289cdd5b60eaf929" "pypy" verify_py27 ensurepip
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)."
|
||||||
|
echo "try 'pypy3.5-5.10.1-src' to build from source."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#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 "pypy3-v5.10.1-src" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-src.tar.bz2#f5548e06e2fc0c24ec8b6e3c5b09f90081818f7caa3e436dc312592611724713" "pypy_builder" verify_py35 ensurepip
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
bunzip2
|
bunzip2
|
||||||
|
clear
|
||||||
# curl
|
# curl
|
||||||
curl
|
curl
|
||||||
curl-config
|
curl-config
|
||||||
|
|||||||
BIN
terminal_output.png
Normal file
BIN
terminal_output.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
Reference in New Issue
Block a user