mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 12:03:49 -05:00
Compare commits
96 Commits
v0.4.0-201
...
v0.4.0-201
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef8c8b8ef2 | ||
|
|
5998c4596b | ||
|
|
8851acda13 | ||
|
|
1ceb678e86 | ||
|
|
79e2c96a7e | ||
|
|
fa0442688a | ||
|
|
9e596d641d | ||
|
|
3ab6836c38 | ||
|
|
082c19f5a1 | ||
|
|
3f1a4d0ff9 | ||
|
|
0df94b1097 | ||
|
|
1e2979d101 | ||
|
|
72a480f298 | ||
|
|
9d74383461 | ||
|
|
2e737a80c0 | ||
|
|
d707546912 | ||
|
|
4501d90896 | ||
|
|
149a915770 | ||
|
|
0c81002220 | ||
|
|
fe87e44870 | ||
|
|
601ac4b3f3 | ||
|
|
60950d0082 | ||
|
|
cff2c4527d | ||
|
|
10e6dd8c2d | ||
|
|
18ecb4ffbb | ||
|
|
986db22da8 | ||
|
|
07037d9a5d | ||
|
|
8914be846f | ||
|
|
d1f1c4c61c | ||
|
|
6c70e2a997 | ||
|
|
3cde540ca0 | ||
|
|
83e820d869 | ||
|
|
8e60ad8c6d | ||
|
|
a841f42d53 | ||
|
|
08367dbb83 | ||
|
|
6222bb743d | ||
|
|
bce58e9d9a | ||
|
|
d4e6a4c3d3 | ||
|
|
9eef6c536b | ||
|
|
d737ae9f03 | ||
|
|
2da9bfd1f8 | ||
|
|
3136fce0c0 | ||
|
|
cce1960de0 | ||
|
|
6641e291ee | ||
|
|
f5fded3b9d | ||
|
|
cac8fd7f60 | ||
|
|
b55830fb01 | ||
|
|
5b9b3f742b | ||
|
|
34065dddbb | ||
|
|
ea9214bb2e | ||
|
|
d90cb0ec85 | ||
|
|
d75e12298a | ||
|
|
addec6339f | ||
|
|
abab44df80 | ||
|
|
4afa280066 | ||
|
|
5c6a812b86 | ||
|
|
650c9a3d6e | ||
|
|
0933c40179 | ||
|
|
2613e84447 | ||
|
|
d1f78c2716 | ||
|
|
cf89abaacf | ||
|
|
545052d5ca | ||
|
|
0d51899e9b | ||
|
|
fa32d81579 | ||
|
|
164f7bf4a6 | ||
|
|
7bdd097254 | ||
|
|
5ae1c803cb | ||
|
|
f536dca41f | ||
|
|
8d951d5025 | ||
|
|
5c31c45d05 | ||
|
|
0851436caa | ||
|
|
65ae0a3261 | ||
|
|
24df447e44 | ||
|
|
a380250881 | ||
|
|
ff38d6935d | ||
|
|
27e1c25cf7 | ||
|
|
a5c34a6c00 | ||
|
|
6e01f83742 | ||
|
|
47ce2155b4 | ||
|
|
0c6b28c9aa | ||
|
|
4d22259ac3 | ||
|
|
7ed908bad1 | ||
|
|
dcc7185ae1 | ||
|
|
cc423566a8 | ||
|
|
e488b31597 | ||
|
|
5bbfcf75f6 | ||
|
|
8164af44b4 | ||
|
|
a1ffc93372 | ||
|
|
9e1bbff8a1 | ||
|
|
6ee219b9c7 | ||
|
|
5f23e3d7b2 | ||
|
|
854f6f3a46 | ||
|
|
63ac2b717f | ||
|
|
81726b16be | ||
|
|
4acab71e1e | ||
|
|
8b8128e33b |
41
CHANGELOG.md
41
CHANGELOG.md
@@ -1,5 +1,46 @@
|
|||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
#### 0.4.0-20140516
|
||||||
|
|
||||||
|
* pyenv: Prefer gawk over awk if both are available.
|
||||||
|
* python-build: Add new PyPy release; pypy-2.3, pypy-2.3-src (#162)
|
||||||
|
* python-build: Add new Anaconda release; anaconda-1.9.2 (#155)
|
||||||
|
* python-build: Add new Miniconda releases; miniconda-3.3.0, minoconda-3.4.2, miniconda3-3.3.0, miniconda3-3.4.2
|
||||||
|
* python-build: Add new Stackless releases; stackless-2.7.3, stackless-2.7.4, stackless-2.7.5, stackless-2.7.6, stackless-3.2.5, stackless-3.3.5 (#164)
|
||||||
|
* python-build: Add IronPython versions (setuptools and pip will work); ironpython-2.7.4, ironpython-dev
|
||||||
|
* python-build: Add new Jython beta release; jython-2.7-beta2
|
||||||
|
* python-build: Update default setuptools version (3.4.1 -> 3.6)
|
||||||
|
* python-build: Update default pip version (1.5.4 -> 1.5.5)
|
||||||
|
* python-build: Update GNU Readline (6.2 -> 6.3)
|
||||||
|
* python-build: Import recent changes from ruby-build v20140420
|
||||||
|
|
||||||
|
#### 0.4.0-20140404
|
||||||
|
|
||||||
|
* pyenv: Reads only the first word from version file. This is as same behavior as rbenv.
|
||||||
|
* python-build: Fix build of Tkinter with Tcl/Tk 8.6 (#131)
|
||||||
|
* python-build: Fix build problem with Readline 6.3 (#126, #131, #149, #152)
|
||||||
|
* python-build: Do not exit with errors even if some of modules are absent (#131)
|
||||||
|
* python-build: MacOSX was mispelled as MaxOSX in `anaconda_architecture` (#136)
|
||||||
|
* python-build: Use default `cc` as the C Compiler to build CPython (#148, #150)
|
||||||
|
* python-build: Display value from `pypy_architecture` and `anaconda_architecture` on errors (yyuu/pyenv-virtualenv#18)
|
||||||
|
* python-build: Remove old development version; 2.6-dev
|
||||||
|
* python-build: Update default setuptools version (3.3 -> 3.4.1)
|
||||||
|
|
||||||
|
#### 0.4.0-20140317
|
||||||
|
|
||||||
|
* python-build: Add new CPython releases; 3.4.0 (#133)
|
||||||
|
* python-build: Add new Anaconda releases; anaconda-1.9.0, anaconda-1.9.1
|
||||||
|
* python-build: Add new Miniconda releases; miniconda-3.0.4, miniconda-3.0.5, miniconda3-3.0.4, miniconda3-3.0.5
|
||||||
|
* python-build: Update default setuptools version (3.1 -> 3.3)
|
||||||
|
|
||||||
|
#### 0.4.0-20140311
|
||||||
|
|
||||||
|
* python-build: Add new CPython releases; 3.3.5 (#127)
|
||||||
|
* python-build: Add new CPython release candidates; 3.4.0rc1, 3.4.0rc2, 3.4.0rc3
|
||||||
|
* python-build: Update default setuptools version (2.2 -> 3.1)
|
||||||
|
* python-build: Update default pip version (1.5.2 -> 1.5.4)
|
||||||
|
* python-build: Import recent changes from ruby-build v20140225
|
||||||
|
|
||||||
#### 0.4.0-20140211
|
#### 0.4.0-20140211
|
||||||
|
|
||||||
* python-build: Add new CPython release candidates; 3.3.4, 3.4.0b3
|
* python-build: Add new CPython release candidates; 3.3.4, 3.4.0b3
|
||||||
|
|||||||
286
COMMANDS.md
Normal file
286
COMMANDS.md
Normal file
@@ -0,0 +1,286 @@
|
|||||||
|
# Command Reference
|
||||||
|
|
||||||
|
Like `git`, the `pyenv` command delegates to subcommands based on its
|
||||||
|
first argument.
|
||||||
|
|
||||||
|
The most common subcommands are:
|
||||||
|
|
||||||
|
* [`pyenv commands`](#pyenv-commands)
|
||||||
|
* [`pyenv local`](#pyenv-local)
|
||||||
|
* [`pyenv global`](#pyenv-global)
|
||||||
|
* [`pyenv shell`](#pyenv-shell)
|
||||||
|
* [`pyenv install`](#pyenv-install)
|
||||||
|
* [`pyenv uninstall`](#pyenv-uninstall)
|
||||||
|
* [`pyenv rehash`](#pyenv-rehash)
|
||||||
|
* [`pyenv version`](#pyenv-version)
|
||||||
|
* [`pyenv versions`](#pyenv-versions)
|
||||||
|
* [`pyenv which`](#pyenv-which)
|
||||||
|
* [`pyenv whence`](#pyenv-whence)
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv commands`
|
||||||
|
|
||||||
|
Lists all available pyenv commands.
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv local`
|
||||||
|
|
||||||
|
Sets a local application-specific Python version by writing the version
|
||||||
|
name to a `.python-version` file in the current directory. This version
|
||||||
|
overrides the global version, and can be overridden itself by setting
|
||||||
|
the `PYENV_VERSION` environment variable or with the `pyenv shell`
|
||||||
|
command.
|
||||||
|
|
||||||
|
$ pyenv local 2.7.6
|
||||||
|
|
||||||
|
When run without a version number, `pyenv local` reports the currently
|
||||||
|
configured local version. You can also unset the local version:
|
||||||
|
|
||||||
|
$ pyenv local --unset
|
||||||
|
|
||||||
|
Previous versions of pyenv stored local version specifications in a
|
||||||
|
file named `.pyenv-version`. For backwards compatibility, pyenv will
|
||||||
|
read a local version specified in an `.pyenv-version` file, but a
|
||||||
|
`.python-version` file in the same directory will take precedence.
|
||||||
|
|
||||||
|
|
||||||
|
### `pyenv local` (advanced)
|
||||||
|
|
||||||
|
You can specify multiple versions as local Python at once.
|
||||||
|
|
||||||
|
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
||||||
|
|
||||||
|
$ pyenv local 2.7.6 3.3.3
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by /Users/yyuu/path/to/project/.python-version)
|
||||||
|
* 3.3.3 (set by /Users/yyuu/path/to/project/.python-version)
|
||||||
|
$ python --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
or, if you prefer 3.3.3 over 2.7.6,
|
||||||
|
|
||||||
|
$ pyenv local 3.3.3 2.7.6
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by /Users/yyuu/path/to/project/.python-version)
|
||||||
|
* 3.3.3 (set by /Users/yyuu/path/to/project/.python-version)
|
||||||
|
venv27
|
||||||
|
$ python --version
|
||||||
|
Python 3.3.3
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv global`
|
||||||
|
|
||||||
|
Sets the global version of Python to be used in all shells by writing
|
||||||
|
the version name to the `~/.pyenv/version` file. This version can be
|
||||||
|
overridden by an application-specific `.python-version` file, or by
|
||||||
|
setting the `PYENV_VERSION` environment variable.
|
||||||
|
|
||||||
|
$ pyenv global 2.7.6
|
||||||
|
|
||||||
|
The special version name `system` tells pyenv to use the system Python
|
||||||
|
(detected by searching your `$PATH`).
|
||||||
|
|
||||||
|
When run without a version number, `pyenv global` reports the
|
||||||
|
currently configured global version.
|
||||||
|
|
||||||
|
|
||||||
|
### `pyenv global` (advanced)
|
||||||
|
|
||||||
|
You can specify multiple versions as global Python at once.
|
||||||
|
|
||||||
|
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
||||||
|
|
||||||
|
$ pyenv global 2.7.6 3.3.3
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by /Users/yyuu/.pyenv/version)
|
||||||
|
* 3.3.3 (set by /Users/yyuu/.pyenv/version)
|
||||||
|
$ python --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
or, if you prefer 3.3.3 over 2.7.6,
|
||||||
|
|
||||||
|
$ pyenv global 3.3.3 2.7.6
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by /Users/yyuu/.pyenv/version)
|
||||||
|
* 3.3.3 (set by /Users/yyuu/.pyenv/version)
|
||||||
|
venv27
|
||||||
|
$ python --version
|
||||||
|
Python 3.3.3
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv shell`
|
||||||
|
|
||||||
|
Sets a shell-specific Python version by setting the `PYENV_VERSION`
|
||||||
|
environment variable in your shell. This version overrides
|
||||||
|
application-specific versions and the global version.
|
||||||
|
|
||||||
|
$ pyenv shell pypy-2.2.1
|
||||||
|
|
||||||
|
When run without a version number, `pyenv shell` reports the current
|
||||||
|
value of `PYENV_VERSION`. You can also unset the shell version:
|
||||||
|
|
||||||
|
$ pyenv shell --unset
|
||||||
|
|
||||||
|
Note that you'll need pyenv's shell integration enabled (step 3 of
|
||||||
|
the installation instructions) in order to use this command. If you
|
||||||
|
prefer not to use shell integration, you may simply set the
|
||||||
|
`PYENV_VERSION` variable yourself:
|
||||||
|
|
||||||
|
$ export PYENV_VERSION=pypy-2.2.1
|
||||||
|
|
||||||
|
|
||||||
|
### `pyenv shell` (advanced)
|
||||||
|
|
||||||
|
You can specify multiple versions via `PYENV_VERSION` at once.
|
||||||
|
|
||||||
|
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
||||||
|
|
||||||
|
$ pyenv shell 2.7.6 3.3.3
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by PYENV_VERSION environment variable)
|
||||||
|
* 3.3.3 (set by PYENV_VERSION environment variable)
|
||||||
|
$ python --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
or, if you prefer 3.3.3 over 2.7.6,
|
||||||
|
|
||||||
|
$ pyenv shell 3.3.3 2.7.6
|
||||||
|
$ pyenv versions
|
||||||
|
system
|
||||||
|
* 2.7.6 (set by PYENV_VERSION environment variable)
|
||||||
|
* 3.3.3 (set by PYENV_VERSION environment variable)
|
||||||
|
venv27
|
||||||
|
$ python --version
|
||||||
|
Python 3.3.3
|
||||||
|
$ python2.7 --version
|
||||||
|
Python 2.7.6
|
||||||
|
$ python3.3 --version
|
||||||
|
Python 3.3.3
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv install`
|
||||||
|
|
||||||
|
Install a Python version (using `python-build`).
|
||||||
|
|
||||||
|
Usage: pyenv install [-f] [-kvp] <version>
|
||||||
|
pyenv install [-f] [-kvp] <definition-file>
|
||||||
|
pyenv install -l|--list
|
||||||
|
|
||||||
|
-l/--list List all available versions
|
||||||
|
-f/--force Install even if the version appears to be installed already
|
||||||
|
|
||||||
|
python-build options:
|
||||||
|
|
||||||
|
-k/--keep Keep source tree in $PYENV_BUILD_ROOT after installation
|
||||||
|
(defaults to $PYENV_ROOT/sources)
|
||||||
|
-v/--verbose Verbose mode: print compilation status to stdout
|
||||||
|
-p/--patch Apply a patch from stdin before building
|
||||||
|
-g/--debug Build a debug version
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv uninstall`
|
||||||
|
|
||||||
|
Uninstall a specific Python version.
|
||||||
|
|
||||||
|
Usage: pyenv uninstall [-f|--force] <version>
|
||||||
|
|
||||||
|
-f Attempt to remove the specified version without prompting
|
||||||
|
for confirmation. If the version does not exist, do not
|
||||||
|
display an error message.
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv rehash`
|
||||||
|
|
||||||
|
Installs shims for all Python binaries known to pyenv (i.e.,
|
||||||
|
`~/.pyenv/versions/*/bin/*`). Run this command after you install a new
|
||||||
|
version of Python, or install a package that provides binaries.
|
||||||
|
|
||||||
|
$ pyenv rehash
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv version`
|
||||||
|
|
||||||
|
Displays the currently active Python version, along with information on
|
||||||
|
how it was set.
|
||||||
|
|
||||||
|
$ pyenv version
|
||||||
|
2.7.6 (set by /home/yyuu/.pyenv/version)
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv versions`
|
||||||
|
|
||||||
|
Lists all Python versions known to pyenv, and shows an asterisk next to
|
||||||
|
the currently active version.
|
||||||
|
|
||||||
|
$ pyenv versions
|
||||||
|
2.5.6
|
||||||
|
2.6.8
|
||||||
|
* 2.7.6 (set by /home/yyuu/.pyenv/version)
|
||||||
|
3.3.3
|
||||||
|
jython-2.5.3
|
||||||
|
pypy-2.2.1
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv which`
|
||||||
|
|
||||||
|
Displays the full path to the executable that pyenv will invoke when
|
||||||
|
you run the given command.
|
||||||
|
|
||||||
|
$ pyenv which python3.3
|
||||||
|
/home/yyuu/.pyenv/versions/3.3.3/bin/python3.3
|
||||||
|
|
||||||
|
|
||||||
|
## `pyenv whence`
|
||||||
|
|
||||||
|
Lists all Python versions with the given command installed.
|
||||||
|
|
||||||
|
$ pyenv whence 2to3
|
||||||
|
2.6.8
|
||||||
|
2.7.6
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
359
README.md
359
README.md
@@ -9,7 +9,8 @@ tools that do one thing well.
|
|||||||
This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
||||||
[ruby-build](https://github.com/sstephenson/ruby-build), and modified for Python.
|
[ruby-build](https://github.com/sstephenson/ruby-build), and modified for Python.
|
||||||
|
|
||||||
<img src="http://gyazo.com/9c829fafdf5e58880c820349c4e9197e.png?1346414267" width="849" height="454">
|
<img src="http://gyazo.com/9c829fafdf5e58880c820349c4e9197e.png?1346414267" width="849" height="454" />
|
||||||
|
|
||||||
|
|
||||||
### pyenv _does..._
|
### pyenv _does..._
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
|||||||
* Search commands from **multiple versions of Python at a time**.
|
* Search commands from **multiple versions of Python at a time**.
|
||||||
This may be helpful to test across Python versions with [tox](http://pypi.python.org/pypi/tox).
|
This may be helpful to test across Python versions with [tox](http://pypi.python.org/pypi/tox).
|
||||||
|
|
||||||
|
|
||||||
### In contrast with pythonbrew and pythonz, pyenv _does not..._
|
### In contrast with pythonbrew and pythonz, pyenv _does not..._
|
||||||
|
|
||||||
* **Depend on Python itself.** pyenv was made from pure shell scripts.
|
* **Depend on Python itself.** pyenv was made from pure shell scripts.
|
||||||
@@ -30,32 +32,32 @@ This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
|||||||
yourself, or [pyenv-virtualenv](https://github.com/yyuu/pyenv-virtualenv)
|
yourself, or [pyenv-virtualenv](https://github.com/yyuu/pyenv-virtualenv)
|
||||||
to automate the process.
|
to automate the process.
|
||||||
|
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
* [How It Works](#how-it-works)
|
* **[How It Works](#how-it-works)**
|
||||||
* [Understanding PATH](#understanding-path)
|
* [Understanding PATH](#understanding-path)
|
||||||
* [Understanding Shims](#understanding-shims)
|
* [Understanding Shims](#understanding-shims)
|
||||||
* [Choosing the Python Version](#choosing-the-python-version)
|
* [Choosing the Python Version](#choosing-the-python-version)
|
||||||
* [Locating the Python Installation](#locating-the-python-installation)
|
* [Locating the Python Installation](#locating-the-python-installation)
|
||||||
* [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 Mac OS X](#homebrew-on-mac-os-x)
|
||||||
* [Neckbeard Configuration](#neckbeard-configuration)
|
* [Neckbeard Configuration](#neckbeard-configuration)
|
||||||
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
||||||
* [Command Reference](#command-reference)
|
* **[Command Reference](#command-reference)**
|
||||||
* [pyenv local](#pyenv-local)
|
* **[Development](#development)**
|
||||||
* [pyenv global](#pyenv-global)
|
|
||||||
* [pyenv shell](#pyenv-shell)
|
|
||||||
* [pyenv versions](#pyenv-versions)
|
|
||||||
* [pyenv version](#pyenv-version)
|
|
||||||
* [pyenv rehash](#pyenv-rehash)
|
|
||||||
* [pyenv which](#pyenv-which)
|
|
||||||
* [pyenv whence](#pyenv-whence)
|
|
||||||
* [Development](#development)
|
|
||||||
* [Version History](#version-history)
|
* [Version History](#version-history)
|
||||||
* [License](#license)
|
* [License](#license)
|
||||||
|
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
## How It Works
|
## How It Works
|
||||||
|
|
||||||
At a high level, pyenv intercepts Python commands using shim
|
At a high level, pyenv intercepts Python commands using shim
|
||||||
@@ -63,6 +65,7 @@ executables injected into your `PATH`, determines which Python version
|
|||||||
has been specified by your application, and passes your commands along
|
has been specified by your application, and passes your commands along
|
||||||
to the correct Python installation.
|
to the correct Python installation.
|
||||||
|
|
||||||
|
|
||||||
### Understanding PATH
|
### Understanding PATH
|
||||||
|
|
||||||
When you run a command like `python` or `pip`, your operating system
|
When you run a command like `python` or `pip`, your operating system
|
||||||
@@ -78,6 +81,7 @@ precedence over another one at the end. In this example, the
|
|||||||
`/usr/local/bin` directory will be searched first, then `/usr/bin`,
|
`/usr/local/bin` directory will be searched first, then `/usr/bin`,
|
||||||
then `/bin`.
|
then `/bin`.
|
||||||
|
|
||||||
|
|
||||||
### Understanding Shims
|
### Understanding Shims
|
||||||
|
|
||||||
pyenv works by inserting a directory of _shims_ at the front of your
|
pyenv works by inserting a directory of _shims_ at the front of your
|
||||||
@@ -98,28 +102,30 @@ operating system will do the following:
|
|||||||
* Run the shim named `pip`, which in turn passes the command along to
|
* Run the shim named `pip`, which in turn passes the command along to
|
||||||
pyenv
|
pyenv
|
||||||
|
|
||||||
|
|
||||||
### Choosing the Python Version
|
### Choosing the Python Version
|
||||||
|
|
||||||
When you execute a shim, pyenv determines which Python version to use by
|
When you execute a shim, pyenv determines which Python version to use by
|
||||||
reading it from the following sources, in this order:
|
reading it from the following sources, in this order:
|
||||||
|
|
||||||
1. The `PYENV_VERSION` environment variable, if specified. You can use
|
1. The `PYENV_VERSION` environment variable (if specified). You can use
|
||||||
the [`pyenv shell`](#pyenv-shell) command to set this environment
|
the [`pyenv shell`](#pyenv-shell) command to set this environment
|
||||||
variable in your current shell session.
|
variable in your current shell session.
|
||||||
|
|
||||||
2. The application-specific `.python-version` file in the current
|
2. The application-specific `.python-version` file in the current
|
||||||
directory, if present. You can modify the current directory's
|
directory (if present). You can modify the current directory's
|
||||||
`.python-version` file with the [`pyenv local`](#pyenv-local)
|
`.python-version` file with the [`pyenv local`](#pyenv-local)
|
||||||
command.
|
command.
|
||||||
|
|
||||||
3. The first `.python-version` file found by searching each parent
|
3. The first `.python-version` file found (if any) by searching each parent
|
||||||
directory until reaching the root of your filesystem, if any.
|
directory, until reaching the root of your filesystem.
|
||||||
|
|
||||||
4. The global `~/.pyenv/version` file. You can modify this file using
|
4. The global `~/.pyenv/version` file. You can modify this file using
|
||||||
the [`pyenv global`](#pyenv-global) command. If the global version
|
the [`pyenv global`](#pyenv-global) command. If the global version
|
||||||
file is not present, pyenv assumes you want to use the "system"
|
file is not present, pyenv assumes you want to use the "system"
|
||||||
Python—i.e. whatever version would be run if pyenv weren't in your
|
Python. (In other words, whatever version would run if pyenv weren't in your
|
||||||
path.
|
`PATH`.)
|
||||||
|
|
||||||
|
|
||||||
### Locating the Python Installation
|
### Locating the Python Installation
|
||||||
|
|
||||||
@@ -128,36 +134,47 @@ specified, it passes the command along to the corresponding Python
|
|||||||
installation.
|
installation.
|
||||||
|
|
||||||
Each Python version is installed into its own directory under
|
Each Python version is installed into its own directory under
|
||||||
`~/.pyenv/versions`. For example, you might have these versions
|
`~/.pyenv/versions`.
|
||||||
installed:
|
|
||||||
|
For example, you might have these versions installed:
|
||||||
|
|
||||||
* `~/.pyenv/versions/2.7.6/`
|
* `~/.pyenv/versions/2.7.6/`
|
||||||
* `~/.pyenv/versions/3.3.3/`
|
* `~/.pyenv/versions/3.3.3/`
|
||||||
* `~/.pyenv/versions/pypy-2.2.1/`
|
* `~/.pyenv/versions/pypy-2.2.1/`
|
||||||
|
|
||||||
Version names to pyenv are simply the names of the directories in
|
As far as pyenv is concerned, version names are simply the directories in
|
||||||
`~/.pyenv/versions`.
|
`~/.pyenv/versions`.
|
||||||
|
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
If you're on Mac OS X, consider
|
If you're on Mac OS X, consider [installing with Homebrew](#homebrew-on-mac-os-x).
|
||||||
[installing with Homebrew](#homebrew-on-mac-os-x).
|
|
||||||
|
|
||||||
|
### The automatic installer
|
||||||
|
|
||||||
|
Visit my other project:
|
||||||
|
https://github.com/yyuu/pyenv-installer
|
||||||
|
|
||||||
|
|
||||||
### Basic GitHub Checkout
|
### Basic GitHub Checkout
|
||||||
|
|
||||||
This will get you going with the latest version of pyenv and make it
|
This will get you going with the latest version of pyenv and make it
|
||||||
easy to fork and contribute any changes back upstream.
|
easy to fork and contribute any changes back upstream.
|
||||||
|
|
||||||
1. Check out pyenv where you want it installed. A good place to choose is
|
1. **Check out pyenv where you want it installed.**
|
||||||
`$HOME/.pyenv` but you may install it somewhere else.
|
A good place to choose is `$HOME/.pyenv` (but you can install it somewhere else).
|
||||||
|
|
||||||
$ cd
|
$ cd
|
||||||
$ git clone git://github.com/yyuu/pyenv.git .pyenv
|
$ git clone git://github.com/yyuu/pyenv.git .pyenv
|
||||||
|
|
||||||
|
|
||||||
2. Define environment variable `PYENV_ROOT` to point to the path where
|
2. **Define environment variable `PYENV_ROOT`** to point to the path where
|
||||||
pyenv repo is cloned and add `$PYENV_ROOT/bin` to your `$PATH` for access
|
pyenv repo is cloned and add `$PYENV_ROOT/bin` to your `$PATH` for access
|
||||||
to the `pyenv` command-line utility.
|
to the `pyenv` command-line utility.
|
||||||
|
|
||||||
$ 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
|
||||||
@@ -165,34 +182,37 @@ to the `pyenv` command-line utility.
|
|||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
3. Add pyenv init to your shell to enable shims and autocompletion.
|
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
||||||
|
|
||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
4. Restart your shell so the path changes take effect. You can now
|
4. **Restart your shell so the path changes take effect.**
|
||||||
begin using pyenv.
|
You can now begin using pyenv.
|
||||||
|
|
||||||
$ exec $SHELL
|
$ exec $SHELL
|
||||||
|
|
||||||
5. Install Python versions into `$PYENV_ROOT/versions`. For example, to
|
5. **Install Python versions into `$PYENV_ROOT/versions`.**
|
||||||
install Python 2.7.6, download and unpack the source, then run:
|
For example, to install Python 2.7.6, download and unpack the source, then run:
|
||||||
|
|
||||||
$ pyenv install 2.7.6
|
$ pyenv install 2.7.6
|
||||||
|
|
||||||
**NOTE** If you need to pass configure option to build, please use
|
**NOTE:** If you need to pass configure option to build, please use
|
||||||
```CONFIGURE_OPTS``` environment variable.
|
```CONFIGURE_OPTS``` environment variable.
|
||||||
|
|
||||||
**NOTE** If you are having trouble installing a python version please visit the wiki page about [Common Build Problems](https://github.com/yyuu/pyenv/wiki/Common-build-problems)
|
**NOTE:** If you are having trouble installing a python version,
|
||||||
|
please visit the wiki page about
|
||||||
|
[Common Build Problems](https://github.com/yyuu/pyenv/wiki/Common-build-problems)
|
||||||
|
|
||||||
6. Rebuild the shim binaries. You should do this any time you install
|
6. **Rebuild the shim binaries.**
|
||||||
a new Python binary (for example, when installing a new Python version,
|
You should do this any time you install a new Python binary.
|
||||||
or when installing a package that provides a binary).
|
(Examples: installing a new Python version, or installing a package that provides a binary.)
|
||||||
|
|
||||||
$ pyenv rehash
|
$ pyenv rehash
|
||||||
|
|
||||||
|
|
||||||
#### Upgrading
|
#### Upgrading
|
||||||
|
|
||||||
If you've installed pyenv using the instructions above, you can
|
If you've installed pyenv using the instructions above, you can
|
||||||
@@ -203,8 +223,7 @@ To upgrade to the latest development version of pyenv, use `git pull`:
|
|||||||
$ cd ~/.pyenv
|
$ cd ~/.pyenv
|
||||||
$ git pull
|
$ git pull
|
||||||
|
|
||||||
To upgrade to a specific release of pyenv, check out the corresponding
|
To upgrade to a specific release of pyenv, check out the corresponding tag:
|
||||||
tag:
|
|
||||||
|
|
||||||
$ cd ~/.pyenv
|
$ cd ~/.pyenv
|
||||||
$ git fetch
|
$ git fetch
|
||||||
@@ -212,23 +231,23 @@ tag:
|
|||||||
v0.1.0
|
v0.1.0
|
||||||
$ git checkout v0.1.0
|
$ git checkout v0.1.0
|
||||||
|
|
||||||
|
|
||||||
### Homebrew on Mac OS X
|
### Homebrew on Mac OS X
|
||||||
|
|
||||||
You can also install pyenv using the
|
You can also install pyenv using the [Homebrew](http://brew.sh)
|
||||||
[Homebrew](http://brew.sh) package manager on Mac OS
|
package manager for Mac OS X.
|
||||||
X.
|
|
||||||
|
|
||||||
~~~
|
$ brew update
|
||||||
$ brew update
|
$ brew install pyenv
|
||||||
$ brew install pyenv
|
|
||||||
~~~
|
|
||||||
|
|
||||||
To later update these installs, use `upgrade` instead of `install`.
|
|
||||||
|
|
||||||
Afterwards you'll still need to add `eval "$(pyenv init -)"` to your
|
To upgrade pyenv in the future, just use `upgrade` instead of `install`.
|
||||||
profile as stated in the caveats. You'll only ever have to do this
|
|
||||||
|
After installation, you'll still need to add `eval "$(pyenv init -)"` to your
|
||||||
|
profile (as stated in the caveats). You'll only ever have to do this
|
||||||
once.
|
once.
|
||||||
|
|
||||||
|
|
||||||
### Neckbeard Configuration
|
### Neckbeard Configuration
|
||||||
|
|
||||||
Skip this section unless you must know what every line in your shell
|
Skip this section unless you must know what every line in your shell
|
||||||
@@ -238,259 +257,65 @@ profile is doing.
|
|||||||
extra commands into your shell. Coming from rvm, some of you might be
|
extra commands into your shell. Coming from rvm, some of you might be
|
||||||
opposed to this idea. Here's what `pyenv init` actually does:
|
opposed to this idea. Here's what `pyenv init` actually does:
|
||||||
|
|
||||||
1. Sets up your shims path. This is the only requirement for pyenv to
|
1. **Sets up your shims path.** This is the only requirement for pyenv to
|
||||||
function properly. You can do this by hand by prepending
|
function properly. You can do this by hand by prepending
|
||||||
`~/.pyenv/shims` to your `$PATH`.
|
`~/.pyenv/shims` to your `$PATH`.
|
||||||
|
|
||||||
2. Installs autocompletion. This is entirely optional but pretty
|
2. **Installs autocompletion.** This is entirely optional but pretty
|
||||||
useful. Sourcing `~/.pyenv/completions/pyenv.bash` will set that
|
useful. Sourcing `~/.pyenv/completions/pyenv.bash` will set that
|
||||||
up. There is also a `~/.pyenv/completions/pyenv.zsh` for Zsh
|
up. There is also a `~/.pyenv/completions/pyenv.zsh` for Zsh
|
||||||
users.
|
users.
|
||||||
|
|
||||||
3. Rehashes shims. From time to time you'll need to rebuild your
|
3. **Rehashes shims.** From time to time you'll need to rebuild your
|
||||||
shim files. Doing this on init makes sure everything is up to
|
shim files. Doing this on init makes sure everything is up to
|
||||||
date. You can always run `pyenv rehash` manually.
|
date. You can always run `pyenv rehash` manually.
|
||||||
|
|
||||||
4. Installs the sh dispatcher. This bit is also optional, but allows
|
4. **Installs the sh dispatcher.** This bit is also optional, but allows
|
||||||
pyenv and plugins to change variables in your current shell, making
|
pyenv and plugins to change variables in your current shell, making
|
||||||
commands like `pyenv shell` possible. The sh dispatcher doesn't do
|
commands like `pyenv shell` possible. The sh dispatcher doesn't do
|
||||||
anything crazy like override `cd` or hack your shell prompt, but if
|
anything crazy like override `cd` or hack your shell prompt, but if
|
||||||
for some reason you need `pyenv` to be a real script rather than a
|
for some reason you need `pyenv` to be a real script rather than a
|
||||||
shell function, you can safely skip it.
|
shell function, you can safely skip it.
|
||||||
|
|
||||||
Run `pyenv init -` for yourself to see exactly what happens under the
|
To see exactly what happens under the hood for yourself, run `pyenv init -`.
|
||||||
hood.
|
|
||||||
|
|
||||||
### Uninstalling Python Versions
|
### Uninstalling Python Versions
|
||||||
|
|
||||||
As time goes on, Python versions you install will accumulate in your
|
As time goes on, you will accumulate Python versions in your
|
||||||
`~/.pyenv/versions` directory.
|
`~/.pyenv/versions` directory.
|
||||||
|
|
||||||
To remove old Python versions, `pyenv uninstall` command to automate
|
To remove old Python versions, `pyenv uninstall` command to automate
|
||||||
the removal process.
|
the removal process.
|
||||||
|
|
||||||
Or, simply `rm -rf` the directory of the
|
Alternatively, simply `rm -rf` the directory of the version you want
|
||||||
version you want to remove. You can find the directory of a particular
|
to remove. You can find the directory of a particular Python version
|
||||||
Python version with the `pyenv prefix` command, e.g. `pyenv prefix
|
with the `pyenv prefix` command, e.g. `pyenv prefix 2.6.8`.
|
||||||
2.6.8`.
|
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
## Command Reference
|
## Command Reference
|
||||||
|
|
||||||
Like `git`, the `pyenv` command delegates to subcommands based on its
|
See [COMMANDS.md](COMMANDS.md).
|
||||||
first argument. The most common subcommands are:
|
|
||||||
|
|
||||||
### pyenv local
|
|
||||||
|
|
||||||
Sets a local application-specific Python version by writing the version
|
----
|
||||||
name to a `.python-version` file in the current directory. This version
|
|
||||||
overrides the global version, and can be overridden itself by setting
|
|
||||||
the `PYENV_VERSION` environment variable or with the `pyenv shell`
|
|
||||||
command.
|
|
||||||
|
|
||||||
$ pyenv local 2.7.6
|
|
||||||
|
|
||||||
When run without a version number, `pyenv local` reports the currently
|
|
||||||
configured local version. You can also unset the local version:
|
|
||||||
|
|
||||||
$ pyenv local --unset
|
|
||||||
|
|
||||||
Previous versions of pyenv stored local version specifications in a
|
|
||||||
file named `.pyenv-version`. For backwards compatibility, pyenv will
|
|
||||||
read a local version specified in an `.pyenv-version` file, but a
|
|
||||||
`.python-version` file in the same directory will take precedence.
|
|
||||||
|
|
||||||
#### pyenv local (advanced)
|
|
||||||
|
|
||||||
You can specify multiple versions as local Python at once.
|
|
||||||
|
|
||||||
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
|
||||||
|
|
||||||
$ pyenv local 2.7.6 3.3.3
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by /Users/yyuu/path/to/project/.python-version)
|
|
||||||
* 3.3.3 (set by /Users/yyuu/path/to/project/.python-version)
|
|
||||||
$ python --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
or, if you prefer 3.3.3 over 2.7.6,
|
|
||||||
|
|
||||||
$ pyenv local 3.3.3 2.7.6
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by /Users/yyuu/path/to/project/.python-version)
|
|
||||||
* 3.3.3 (set by /Users/yyuu/path/to/project/.python-version)
|
|
||||||
venv27
|
|
||||||
$ python --version
|
|
||||||
Python 3.3.3
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
### pyenv global
|
|
||||||
|
|
||||||
Sets the global version of Python to be used in all shells by writing
|
|
||||||
the version name to the `~/.pyenv/version` file. This version can be
|
|
||||||
overridden by an application-specific `.python-version` file, or by
|
|
||||||
setting the `PYENV_VERSION` environment variable.
|
|
||||||
|
|
||||||
$ pyenv global 2.7.6
|
|
||||||
|
|
||||||
The special version name `system` tells pyenv to use the system Python
|
|
||||||
(detected by searching your `$PATH`).
|
|
||||||
|
|
||||||
When run without a version number, `pyenv global` reports the
|
|
||||||
currently configured global version.
|
|
||||||
|
|
||||||
#### pyenv global (advanced)
|
|
||||||
|
|
||||||
You can specify multiple versions as global Python at once.
|
|
||||||
|
|
||||||
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
|
||||||
|
|
||||||
$ pyenv global 2.7.6 3.3.3
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by /Users/yyuu/.pyenv/version)
|
|
||||||
* 3.3.3 (set by /Users/yyuu/.pyenv/version)
|
|
||||||
$ python --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
or, if you prefer 3.3.3 over 2.7.6,
|
|
||||||
|
|
||||||
$ pyenv global 3.3.3 2.7.6
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by /Users/yyuu/.pyenv/version)
|
|
||||||
* 3.3.3 (set by /Users/yyuu/.pyenv/version)
|
|
||||||
venv27
|
|
||||||
$ python --version
|
|
||||||
Python 3.3.3
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
### pyenv shell
|
|
||||||
|
|
||||||
Sets a shell-specific Python version by setting the `PYENV_VERSION`
|
|
||||||
environment variable in your shell. This version overrides
|
|
||||||
application-specific versions and the global version.
|
|
||||||
|
|
||||||
$ pyenv shell pypy-2.2.1
|
|
||||||
|
|
||||||
When run without a version number, `pyenv shell` reports the current
|
|
||||||
value of `PYENV_VERSION`. You can also unset the shell version:
|
|
||||||
|
|
||||||
$ pyenv shell --unset
|
|
||||||
|
|
||||||
Note that you'll need pyenv's shell integration enabled (step 3 of
|
|
||||||
the installation instructions) in order to use this command. If you
|
|
||||||
prefer not to use shell integration, you may simply set the
|
|
||||||
`PYENV_VERSION` variable yourself:
|
|
||||||
|
|
||||||
$ export PYENV_VERSION=pypy-2.2.1
|
|
||||||
|
|
||||||
#### pyenv shell (advanced)
|
|
||||||
|
|
||||||
You can specify multiple versions via `PYENV_VERSION` at once.
|
|
||||||
|
|
||||||
Let's say if you have two versions of 2.7.6 and 3.3.3. If you prefer 2.7.6 over 3.3.3,
|
|
||||||
|
|
||||||
$ pyenv shell 2.7.6 3.3.3
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by PYENV_VERSION environment variable)
|
|
||||||
* 3.3.3 (set by PYENV_VERSION environment variable)
|
|
||||||
$ python --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
or, if you prefer 3.3.3 over 2.7.6,
|
|
||||||
|
|
||||||
$ pyenv shell 3.3.3 2.7.6
|
|
||||||
$ pyenv versions
|
|
||||||
system
|
|
||||||
* 2.7.6 (set by PYENV_VERSION environment variable)
|
|
||||||
* 3.3.3 (set by PYENV_VERSION environment variable)
|
|
||||||
venv27
|
|
||||||
$ python --version
|
|
||||||
Python 3.3.3
|
|
||||||
$ python2.7 --version
|
|
||||||
Python 2.7.6
|
|
||||||
$ python3.3 --version
|
|
||||||
Python 3.3.3
|
|
||||||
|
|
||||||
### pyenv versions
|
|
||||||
|
|
||||||
Lists all Python versions known to pyenv, and shows an asterisk next to
|
|
||||||
the currently active version.
|
|
||||||
|
|
||||||
$ pyenv versions
|
|
||||||
2.5.6
|
|
||||||
2.6.8
|
|
||||||
* 2.7.6 (set by /home/yyuu/.pyenv/version)
|
|
||||||
3.3.3
|
|
||||||
jython-2.5.3
|
|
||||||
pypy-2.2.1
|
|
||||||
|
|
||||||
### pyenv version
|
|
||||||
|
|
||||||
Displays the currently active Python version, along with information on
|
|
||||||
how it was set.
|
|
||||||
|
|
||||||
$ pyenv version
|
|
||||||
2.7.6 (set by /home/yyuu/.pyenv/version)
|
|
||||||
|
|
||||||
### pyenv rehash
|
|
||||||
|
|
||||||
Installs shims for all Python binaries known to pyenv (i.e.,
|
|
||||||
`~/.pyenv/versions/*/bin/*`). Run this command after you install a new
|
|
||||||
version of Python, or install a package that provides binaries.
|
|
||||||
|
|
||||||
$ pyenv rehash
|
|
||||||
|
|
||||||
### pyenv which
|
|
||||||
|
|
||||||
Displays the full path to the executable that pyenv will invoke when
|
|
||||||
you run the given command.
|
|
||||||
|
|
||||||
$ pyenv which python3.3
|
|
||||||
/home/yyuu/.pyenv/versions/3.3.3/bin/python3.3
|
|
||||||
|
|
||||||
### pyenv whence
|
|
||||||
|
|
||||||
Lists all Python versions with the given command installed.
|
|
||||||
|
|
||||||
$ pyenv whence 2to3
|
|
||||||
2.6.8
|
|
||||||
2.7.6
|
|
||||||
3.3.3
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
The pyenv source code is [hosted on
|
The pyenv source code is [hosted on GitHub](https://github.com/yyuu/pyenv).
|
||||||
GitHub](https://github.com/yyuu/pyenv). It's clean, modular,
|
It's clean, modular, and easy to understand--even if you're not a shell hacker.
|
||||||
and easy to understand, even if you're not a shell hacker.
|
|
||||||
|
Please feel free to submit Pull Requests and report bugs on the
|
||||||
|
[issue tracker](https://github.com/yyuu/pyenv/issues).
|
||||||
|
|
||||||
Please feel free to submit pull requests and file bugs on the [issue
|
|
||||||
tracker](https://github.com/yyuu/pyenv/issues).
|
|
||||||
|
|
||||||
### Version History
|
### Version History
|
||||||
|
|
||||||
See CHANGELOG.md.
|
See [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
version="0.4.0-20140211"
|
version="0.4.0-20140516"
|
||||||
|
|
||||||
if cd "$PYENV_ROOT" 2>/dev/null; then
|
if cd "$PYENV_ROOT" 2>/dev/null; then
|
||||||
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
|
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ extract_initial_comment_block() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
collect_documentation() {
|
collect_documentation() {
|
||||||
awk '
|
$(type -p gawk awk | head -1) '
|
||||||
/^Summary:/ {
|
/^Summary:/ {
|
||||||
summary = substr($0, 10)
|
summary = substr($0, 10)
|
||||||
next
|
next
|
||||||
|
|||||||
@@ -8,15 +8,13 @@ VERSION_FILE="$1"
|
|||||||
if [ -e "$VERSION_FILE" ]; then
|
if [ -e "$VERSION_FILE" ]; then
|
||||||
# Read the first non-whitespace word from the specified version file.
|
# Read the first non-whitespace word from the specified version file.
|
||||||
# Be careful not to load it whole in case there's something crazy in it.
|
# Be careful not to load it whole in case there's something crazy in it.
|
||||||
words=( $(cut -b 1-1024 "$VERSION_FILE") )
|
IFS="${IFS}"$'\r'
|
||||||
|
words=( $(cut -b 1-1024 "$VERSION_FILE" | $(type -p gawk awk | head -1) '{ print($1) }') )
|
||||||
versions=("${words[@]}")
|
versions=("${words[@]}")
|
||||||
|
|
||||||
if [ -n "$versions" ]; then
|
if [ -n "$versions" ]; then
|
||||||
OLDIFS="$IFS"
|
IFS=":"
|
||||||
{ IFS=:
|
|
||||||
echo "${versions[*]}"
|
echo "${versions[*]}"
|
||||||
}
|
|
||||||
IFS="$OLDIFS"
|
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
#
|
#
|
||||||
# -l/--list List all available versions
|
# -l/--list List all available versions
|
||||||
# -f/--force Install even if the version appears to be installed already
|
# -f/--force Install even if the version appears to be installed already
|
||||||
|
# -s/--skip-existing Skip if the version appears to be installed already
|
||||||
#
|
#
|
||||||
# python-build options:
|
# python-build options:
|
||||||
#
|
#
|
||||||
@@ -44,7 +45,7 @@ usage() {
|
|||||||
|
|
||||||
definitions() {
|
definitions() {
|
||||||
local query="$1"
|
local query="$1"
|
||||||
python-build --definitions | grep -F "$query" || true
|
python-build --definitions | $(type -p ggrep grep | head -1) -F "$query" || true
|
||||||
}
|
}
|
||||||
|
|
||||||
indent() {
|
indent() {
|
||||||
@@ -52,6 +53,7 @@ indent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unset FORCE
|
unset FORCE
|
||||||
|
unset SKIP_EXISTING
|
||||||
unset KEEP
|
unset KEEP
|
||||||
unset VERBOSE
|
unset VERBOSE
|
||||||
unset HAS_PATCH
|
unset HAS_PATCH
|
||||||
@@ -71,6 +73,9 @@ for option in "${OPTIONS[@]}"; do
|
|||||||
"f" | "force" )
|
"f" | "force" )
|
||||||
FORCE=true
|
FORCE=true
|
||||||
;;
|
;;
|
||||||
|
"s" | "skip-existing" )
|
||||||
|
SKIP_EXISTING=true
|
||||||
|
;;
|
||||||
"k" | "keep" )
|
"k" | "keep" )
|
||||||
[ -n "${PYENV_BUILD_ROOT}" ] || PYENV_BUILD_ROOT="${PYENV_ROOT}/sources"
|
[ -n "${PYENV_BUILD_ROOT}" ] || PYENV_BUILD_ROOT="${PYENV_ROOT}/sources"
|
||||||
;;
|
;;
|
||||||
@@ -134,7 +139,8 @@ PREFIX="${PYENV_ROOT}/versions/${VERSION_NAME}"
|
|||||||
|
|
||||||
# If the installation prefix exists, prompt for confirmation unless
|
# If the installation prefix exists, prompt for confirmation unless
|
||||||
# the --force option was specified.
|
# the --force option was specified.
|
||||||
if [ -z "$FORCE" ] && [ -d "${PREFIX}/bin" ]; then
|
if [ -d "${PREFIX}/bin" ]; then
|
||||||
|
if [ -z "$FORCE" ] && [ -z "$SKIP_EXISTING" ]; then
|
||||||
echo "pyenv: $PREFIX already exists" >&2
|
echo "pyenv: $PREFIX already exists" >&2
|
||||||
read -p "continue with installation? (y/N) "
|
read -p "continue with installation? (y/N) "
|
||||||
|
|
||||||
@@ -142,6 +148,12 @@ if [ -z "$FORCE" ] && [ -d "${PREFIX}/bin" ]; then
|
|||||||
y* | Y* ) ;;
|
y* | Y* ) ;;
|
||||||
* ) exit 1 ;;
|
* ) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
elif [ -n "$SKIP_EXISTING" ]; then
|
||||||
|
# Since we know the python version is already installed, and are opting to
|
||||||
|
# not force installation of existing versions, we just `exit 0` here to
|
||||||
|
# leave things happy
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If PYENV_BUILD_ROOT is set, always pass keep options to python-build.
|
# If PYENV_BUILD_ROOT is set, always pass keep options to python-build.
|
||||||
@@ -158,7 +170,7 @@ fi
|
|||||||
|
|
||||||
# Default PYENV_VERSION to the friendly Python version. (The
|
# Default PYENV_VERSION to the friendly Python version. (The
|
||||||
# CPython installer requires an existing Python installation to run. An
|
# CPython installer requires an existing Python installation to run. An
|
||||||
# unsatisfied local python version can cause the installer to
|
# unsatisfied local .python-version file can cause the installer to
|
||||||
# fail.)
|
# fail.)
|
||||||
if [[ "${VERSION_NAME}" == [23]"."* ]]; then
|
if [[ "${VERSION_NAME}" == [23]"."* ]]; then
|
||||||
for version in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"; do
|
for version in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"; do
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PYTHON_BUILD_VERSION="20140204"
|
PYTHON_BUILD_VERSION="20140420"
|
||||||
|
|
||||||
set -E
|
set -E
|
||||||
exec 3<&2 # preserve original stderr at fd 3
|
exec 3<&2 # preserve original stderr at fd 3
|
||||||
@@ -65,6 +65,12 @@ sanitize() {
|
|||||||
printf "%s" "$1" | sed "s/[^A-Za-z0-9.-]/_/g; s/__*/_/g"
|
printf "%s" "$1" | sed "s/[^A-Za-z0-9.-]/_/g; s/__*/_/g"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
colorize() {
|
||||||
|
if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2"
|
||||||
|
else echo -n "$2"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
build_failed() {
|
build_failed() {
|
||||||
{ echo
|
{ echo
|
||||||
echo "BUILD FAILED"
|
echo "BUILD FAILED"
|
||||||
@@ -239,7 +245,7 @@ http_head_curl() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http_get_curl() {
|
http_get_curl() {
|
||||||
curl -C - -o "${2:--}" -qsSLf "$1"
|
curl -q -o "${2:--}" -sSLf "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
http_head_wget() {
|
http_head_wget() {
|
||||||
@@ -247,7 +253,7 @@ http_head_wget() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http_get_wget() {
|
http_get_wget() {
|
||||||
wget -nv -c -O "${2:--}" "$1"
|
wget -nv -O "${2:--}" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_tarball() {
|
fetch_tarball() {
|
||||||
@@ -277,8 +283,9 @@ fetch_tarball() {
|
|||||||
tar_args="${tar_args/z/j}"
|
tar_args="${tar_args/z/j}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! symlink_tarball_from_cache "$package_filename" "$checksum"; then
|
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
|
||||||
echo "Downloading ${package_filename}..." >&2
|
local tarball_filename=$(basename $package_url)
|
||||||
|
echo "Downloading ${tarball_filename}..." >&2
|
||||||
http head "$mirror_url" &&
|
http head "$mirror_url" &&
|
||||||
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
||||||
download_tarball "$package_url" "$package_filename" "$checksum"
|
download_tarball "$package_url" "$package_filename" "$checksum"
|
||||||
@@ -294,13 +301,19 @@ fetch_tarball() {
|
|||||||
} >&4 2>&1
|
} >&4 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
symlink_tarball_from_cache() {
|
reuse_existing_tarball() {
|
||||||
[ -n "$PYTHON_BUILD_CACHE_PATH" ] || return 1
|
|
||||||
|
|
||||||
local package_filename="$1"
|
local package_filename="$1"
|
||||||
local cached_package_filename="${PYTHON_BUILD_CACHE_PATH}/$package_filename"
|
|
||||||
local checksum="$2"
|
local checksum="$2"
|
||||||
|
|
||||||
|
# Reuse existing file in build location
|
||||||
|
if [ -e "$package_filename" ] && verify_checksum "$package_filename" "$checksum"; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Reuse previously downloaded file in cache location
|
||||||
|
[ -n "$PYTHON_BUILD_CACHE_PATH" ] || return 1
|
||||||
|
local cached_package_filename="${PYTHON_BUILD_CACHE_PATH}/$package_filename"
|
||||||
|
|
||||||
[ -e "$cached_package_filename" ] || return 1
|
[ -e "$cached_package_filename" ] || return 1
|
||||||
verify_checksum "$cached_package_filename" "$checksum" >&4 2>&1 || return 1
|
verify_checksum "$cached_package_filename" "$checksum" >&4 2>&1 || return 1
|
||||||
ln -s "$cached_package_filename" "$package_filename" >&4 2>&1 || return 1
|
ln -s "$cached_package_filename" "$package_filename" >&4 2>&1 || return 1
|
||||||
@@ -423,7 +436,7 @@ fetch_jar() {
|
|||||||
|
|
||||||
local package_filename="${package_name}.jar"
|
local package_filename="${package_name}.jar"
|
||||||
|
|
||||||
if ! symlink_tarball_from_cache "$package_filename" "$checksum"; then
|
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
|
||||||
echo "Downloading ${package_filename}..." >&2
|
echo "Downloading ${package_filename}..." >&2
|
||||||
http head "$mirror_url" &&
|
http head "$mirror_url" &&
|
||||||
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
||||||
@@ -457,7 +470,7 @@ fetch_zip() {
|
|||||||
|
|
||||||
local package_filename="${package_name}.zip"
|
local package_filename="${package_name}.zip"
|
||||||
|
|
||||||
if ! symlink_tarball_from_cache "$package_filename" "$checksum"; then
|
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
|
||||||
echo "Downloading ${package_filename}..." >&2
|
echo "Downloading ${package_filename}..." >&2
|
||||||
http head "$mirror_url" &&
|
http head "$mirror_url" &&
|
||||||
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
||||||
@@ -491,7 +504,7 @@ fetch_script() {
|
|||||||
|
|
||||||
local package_filename="${package_name}.sh" # TODO: extract suffix from ${package_url}
|
local package_filename="${package_name}.sh" # TODO: extract suffix from ${package_url}
|
||||||
|
|
||||||
if ! symlink_tarball_from_cache "$package_filename" "$checksum"; then
|
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
|
||||||
echo "Downloading ${package_filename}..." >&2
|
echo "Downloading ${package_filename}..." >&2
|
||||||
http head "$mirror_url" &&
|
http head "$mirror_url" &&
|
||||||
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
||||||
@@ -666,15 +679,35 @@ build_package_jruby() {
|
|||||||
build_package_copy
|
build_package_copy
|
||||||
cd "${PREFIX_PATH}/bin"
|
cd "${PREFIX_PATH}/bin"
|
||||||
ln -fs jruby ruby
|
ln -fs jruby ruby
|
||||||
|
chmod +x ruby
|
||||||
install_jruby_launcher
|
install_jruby_launcher
|
||||||
remove_windows_files
|
remove_windows_files
|
||||||
fix_jruby_shebangs
|
fix_jruby_shebangs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
graal_architecture() {
|
||||||
|
if [ "$(uname -m)" != "x86_64" ]; then
|
||||||
|
echo "no nightly builds available" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin") echo "macosx-x86_64";;
|
||||||
|
"Linux") echo "linux-x86_64";;
|
||||||
|
*)
|
||||||
|
echo "no nightly builds available" >&2
|
||||||
|
exit 1;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
install_jruby_launcher() {
|
install_jruby_launcher() {
|
||||||
|
# If this version of JRuby has been modified for Graal, don't overwrite the
|
||||||
|
# launcher scripts
|
||||||
|
if ! grep -q graalvm "${PREFIX_PATH}/bin/jruby"; then
|
||||||
cd "${PREFIX_PATH}/bin"
|
cd "${PREFIX_PATH}/bin"
|
||||||
{ ./ruby gem install jruby-launcher
|
{ ./ruby gem install jruby-launcher
|
||||||
} >&4 2>&1
|
} >&4 2>&1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
fix_jruby_shebangs() {
|
fix_jruby_shebangs() {
|
||||||
@@ -704,6 +737,35 @@ build_package_jython_builder() {
|
|||||||
( cd "dist" && build_package_jython )
|
( cd "dist" && build_package_jython )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_package_ironpython() {
|
||||||
|
mkdir -p "${PREFIX_PATH}/bin"
|
||||||
|
cp -fR . "${PREFIX_PATH}/bin"
|
||||||
|
chmod +x "${PREFIX_PATH}/bin/"*.exe
|
||||||
|
( cd "${PREFIX_PATH}/bin" && ln -fs ipy.exe python )
|
||||||
|
}
|
||||||
|
|
||||||
|
build_package_ironpython_builder() {
|
||||||
|
xbuild Build.proj /t:Stage "/p:Mono=true;BaseConfiguration=Release" >&4 2>&1
|
||||||
|
( cd "Stage/Release/IronPython-"* && build_package_ironpython )
|
||||||
|
}
|
||||||
|
|
||||||
|
pypy_architecture() {
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin" ) echo "osx64" ;;
|
||||||
|
"Linux" )
|
||||||
|
case "$(uname -m)" in
|
||||||
|
"armel" ) echo "linux-armel" ;;
|
||||||
|
"armhf" | "armv6l" | "armv7l" ) echo "linux-armhf" ;;
|
||||||
|
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "linux" ;;
|
||||||
|
"x86_64" ) echo "linux64" ;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"CYGWIN"* | "MINGW"* ) echo "win32" ;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
build_package_pypy() {
|
build_package_pypy() {
|
||||||
build_package_copy
|
build_package_copy
|
||||||
{ if [ -x "${PREFIX_PATH}/bin/pypy" ] && [ ! -x "${PREFIX_PATH}/bin/python" ]; then
|
{ if [ -x "${PREFIX_PATH}/bin/pypy" ] && [ ! -x "${PREFIX_PATH}/bin/python" ]; then
|
||||||
@@ -728,6 +790,20 @@ build_package_pypy_builder() {
|
|||||||
build_package_pypy
|
build_package_pypy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
anaconda_architecture() {
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin" ) echo "MacOSX-x86_64" ;;
|
||||||
|
"Linux" )
|
||||||
|
case "$(uname -m)" in
|
||||||
|
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "Linux-x86" ;;
|
||||||
|
"x86_64" ) echo "Linux-x86_64" ;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
* ) return 1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
build_package_anaconda() {
|
build_package_anaconda() {
|
||||||
local package_name="$1"
|
local package_name="$1"
|
||||||
{ bash "${package_name}.sh" -b -p "${PREFIX_PATH}"
|
{ bash "${package_name}.sh" -b -p "${PREFIX_PATH}"
|
||||||
@@ -791,7 +867,9 @@ fix_rbx_gem_binstubs() {
|
|||||||
for file in "$gemdir"/*; do
|
for file in "$gemdir"/*; do
|
||||||
binstub="${bindir}/${file##*/}"
|
binstub="${bindir}/${file##*/}"
|
||||||
rm -f "$binstub"
|
rm -f "$binstub"
|
||||||
sed -E "s:^#\!.+:#\!${bindir}/ruby:" < "$file" > "$binstub"
|
{ echo "#!${bindir}/ruby"
|
||||||
|
cat "$file"
|
||||||
|
} > "$binstub"
|
||||||
chmod +x "$binstub"
|
chmod +x "$binstub"
|
||||||
done
|
done
|
||||||
rm -rf "$gemdir"
|
rm -rf "$gemdir"
|
||||||
@@ -806,19 +884,29 @@ fix_rbx_irb() {
|
|||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_java7() {
|
||||||
|
local version="$(java -version 2>&1 | head -1)"
|
||||||
|
if [[ $version != *1.[789]* ]]; then
|
||||||
|
colorize 1 "ERROR" >&3
|
||||||
|
echo ": Java 7 required. Please install a 1.7-compatible JRE." >&3
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
require_gcc() {
|
require_gcc() {
|
||||||
local gcc="$(locate_gcc || true)"
|
local gcc="$(locate_gcc || true)"
|
||||||
|
|
||||||
if [ -z "$gcc" ]; then
|
if [ -z "$gcc" ]; then
|
||||||
local esc=$'\033'
|
|
||||||
{ echo
|
{ echo
|
||||||
echo "${esc}[1mERROR${esc}[0m: This package must be compiled with GCC, but python-build couldn't"
|
colorize 1 "ERROR"
|
||||||
|
echo ": This package must be compiled with GCC, but python-build couldn't"
|
||||||
echo "find a suitable \`gcc\` executable on your system. Please install GCC"
|
echo "find a suitable \`gcc\` executable on your system. Please install GCC"
|
||||||
echo "and try again."
|
echo "and try again."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [ "$(uname -s)" = "Darwin" ]; then
|
if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
echo "${esc}[1mDETAILS${esc}[0m: Apple no longer includes the official GCC compiler with Xcode"
|
colorize 1 "DETAILS"
|
||||||
|
echo ": Apple no longer includes the official GCC compiler with Xcode"
|
||||||
echo "as of version 4.2. Instead, the \`gcc\` executable is a symlink to"
|
echo "as of version 4.2. Instead, the \`gcc\` executable is a symlink to"
|
||||||
echo "\`llvm-gcc\`, a modified version of GCC which outputs LLVM bytecode."
|
echo "\`llvm-gcc\`, a modified version of GCC which outputs LLVM bytecode."
|
||||||
echo
|
echo
|
||||||
@@ -828,14 +916,18 @@ require_gcc() {
|
|||||||
echo "GCC compiler installed on your system."
|
echo "GCC compiler installed on your system."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
colorize 1 "TO FIX THE PROBLEM"
|
||||||
if type brew &>/dev/null; then
|
if type brew &>/dev/null; then
|
||||||
echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install Homebrew's apple-gcc42 package with this"
|
echo ": Install Homebrew's apple-gcc42 package with this"
|
||||||
echo "command: ${esc}[4mbrew tap homebrew/dupes ; brew install apple-gcc42${esc}[0m"
|
echo -n "command: "
|
||||||
|
colorize 4 "brew tap homebrew/dupes ; brew install apple-gcc42"
|
||||||
else
|
else
|
||||||
echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install the official GCC compiler using these"
|
echo ": Install the official GCC compiler using these"
|
||||||
echo "packages: ${esc}[4mhttps://github.com/kennethreitz/osx-gcc-installer/downloads${esc}[0m"
|
echo -n "packages: "
|
||||||
|
colorize 4 "https://github.com/kennethreitz/osx-gcc-installer/downloads"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
echo
|
echo
|
||||||
echo "You will need to install the official GCC compiler to build newer"
|
echo "You will need to install the official GCC compiler to build newer"
|
||||||
echo "versions of CPython even if you have installed Apple's Command Line Tools"
|
echo "versions of CPython even if you have installed Apple's Command Line Tools"
|
||||||
@@ -898,26 +990,29 @@ verify_gcc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require_cc() {
|
require_cc() {
|
||||||
local cc=("$@")
|
local cc="$(command -v "$CC" || command -v "cc" || true)"
|
||||||
while [ -n "${cc}" ]; do
|
|
||||||
{ if [ "${#cc[@]}" -le 1 ]; then
|
if [ -z "$cc" ]; then
|
||||||
"require_${cc}" # display last error
|
{ echo
|
||||||
else
|
colorize 1 "ERROR"
|
||||||
"require_${cc}" 3>/dev/null
|
echo ": This package must be compiled with cc, but python-build couldn't"
|
||||||
fi
|
echo "find a suitable \`cc\` executable on your system. Please install cc"
|
||||||
} && return 0
|
echo "and try again."
|
||||||
cc=("${cc[@]:1}")
|
echo
|
||||||
done
|
} >&3
|
||||||
return 1
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
export CC
|
||||||
}
|
}
|
||||||
|
|
||||||
require_clang() {
|
require_clang() {
|
||||||
local clang="$(command -v "$CC" || command -v "clang" || true)"
|
local clang="$(command -v "$CC" || command -v "clang" || true)"
|
||||||
|
|
||||||
if [ -z "$clang" ]; then
|
if [ -z "$clang" ]; then
|
||||||
local esc=$'\033'
|
|
||||||
{ echo
|
{ echo
|
||||||
echo "${esc}[1mERROR${esc}[0m: This package must be compiled with clang, but python-build couldn't"
|
colorize 1 "ERROR"
|
||||||
|
echo ": This package must be compiled with clang, but python-build couldn't"
|
||||||
echo "find a suitable \`clang\` executable on your system. Please install clang"
|
echo "find a suitable \`clang\` executable on your system. Please install clang"
|
||||||
echo "and try again."
|
echo "and try again."
|
||||||
echo
|
echo
|
||||||
@@ -932,9 +1027,9 @@ require_java() {
|
|||||||
local java="$(command -v java || true)"
|
local java="$(command -v java || true)"
|
||||||
|
|
||||||
if [ -z "$java" ]; then
|
if [ -z "$java" ]; then
|
||||||
local esc=$'\033'
|
|
||||||
{ echo
|
{ echo
|
||||||
echo "${esc}[1mERROR${esc}[0m: This package must be installed with java, but python-build couldn't"
|
colorize 1 "ERROR"
|
||||||
|
echo ": This package must be installed with java, but python-build couldn't"
|
||||||
echo "find a suitable \`java\` executable on your system. Please install Java"
|
echo "find a suitable \`java\` executable on your system. Please install Java"
|
||||||
echo "and try again."
|
echo "and try again."
|
||||||
echo
|
echo
|
||||||
@@ -1104,9 +1199,8 @@ apply_python_patch() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
build_package_verify_python() {
|
verify_python() {
|
||||||
local package_name="$1"
|
local python="$1"
|
||||||
local python="$2"
|
|
||||||
if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
|
if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
|
||||||
# Only symlinks are installed in ${PREFIX_PATH}/bin
|
# Only symlinks are installed in ${PREFIX_PATH}/bin
|
||||||
rm -fr "${PREFIX_PATH}/bin"
|
rm -fr "${PREFIX_PATH}/bin"
|
||||||
@@ -1116,29 +1210,57 @@ build_package_verify_python() {
|
|||||||
( cd "${PREFIX_PATH}/bin" && ln -fs "${python}" "python" )
|
( cd "${PREFIX_PATH}/bin" && ln -fs "${python}" "python" )
|
||||||
fi
|
fi
|
||||||
if [ ! -x "${PYTHON_BIN}" ]; then
|
if [ ! -x "${PYTHON_BIN}" ]; then
|
||||||
echo "pyenv: invalid Python executable: ${PYTHON_BIN}" >&4 2>&1
|
{ colorize 1 "ERROR"
|
||||||
|
echo ": invalid Python executable: ${PYTHON_BIN}"
|
||||||
|
echo
|
||||||
|
echo "The python-build could not find proper executable of Python after successful build."
|
||||||
|
echo "Please open an issue for future improvements."
|
||||||
|
echo "https://github.com/yyuu/pyenv/issues"
|
||||||
return 1
|
return 1
|
||||||
|
} >&3
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
try_python_module() {
|
||||||
|
if ! "$PYTHON_BIN" -c "import $1" 1>/dev/null 2>&1; then
|
||||||
|
{ colorize 1 "WARNING"
|
||||||
|
echo ": The Python $1 extension was not compiled. Missing the ${2:-$1}?"
|
||||||
|
return 0
|
||||||
|
} >&3
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
verify_python_module() {
|
||||||
|
if ! "$PYTHON_BIN" -c "import $1" 1>/dev/null 2>&1; then
|
||||||
|
{ colorize 1 "ERROR"
|
||||||
|
echo ": The Python $1 extension was not compiled. Missing the ${2:-$1}?"
|
||||||
|
echo
|
||||||
|
echo "Please consult to the Wiki page to fix the problem."
|
||||||
|
echo "https://github.com/yyuu/pyenv/wiki/Common-build-problems"
|
||||||
|
echo
|
||||||
|
return 1
|
||||||
|
} >&3
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Post-install check for Python 2.4.x
|
# Post-install check for Python 2.4.x
|
||||||
build_package_verify_py24() {
|
build_package_verify_py24() {
|
||||||
build_package_verify_python "$1" "${2:-python2.4}"
|
verify_python "${2:-python2.4}"
|
||||||
build_package_verify_readline "$1" "${2:-python2.4}"
|
try_python_module "readline" "GNU readline lib"
|
||||||
build_package_verify_zlib "$1" "${2:-python2.4}"
|
verify_python_module "zlib" "zlib"
|
||||||
build_package_verify_bz2 "$1" "${2:-python2.4}"
|
try_python_module "bz2" "bzip2 lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Post-install check for Python 2.5.x
|
# Post-install check for Python 2.5.x
|
||||||
build_package_verify_py25() {
|
build_package_verify_py25() {
|
||||||
build_package_verify_py24 "$1" "${2:-python2.5}"
|
build_package_verify_py24 "$1" "${2:-python2.5}"
|
||||||
build_package_verify_sqlite3 "$1" "${2:-python2.5}"
|
try_python_module "sqlite3" "SQLite3 lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Post-install check for Python 2.6.x
|
# Post-install check for Python 2.6.x
|
||||||
build_package_verify_py26() {
|
build_package_verify_py26() {
|
||||||
build_package_verify_py25 "$1" "${2:-python2.6}"
|
build_package_verify_py25 "$1" "${2:-python2.6}"
|
||||||
build_package_verify_ssl "$1" "${2:-python2.6}"
|
verify_python_module "ssl" "OpenSSL lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Post-install check for Python 2.7.x
|
# Post-install check for Python 2.7.x
|
||||||
@@ -1148,12 +1270,12 @@ build_package_verify_py27() {
|
|||||||
|
|
||||||
# Post-install check for Python 3.0.x
|
# Post-install check for Python 3.0.x
|
||||||
build_package_verify_py30() {
|
build_package_verify_py30() {
|
||||||
build_package_verify_python "$1" "${2:-python3.0}"
|
verify_python "${2:-python3.0}"
|
||||||
build_package_verify_readline "$1" "${2:-python3.0}"
|
try_python_module "bz2" "bzip2 lib"
|
||||||
build_package_verify_ssl "$1" "${2:-python3.0}"
|
try_python_module "readline" "GNU readline lib"
|
||||||
build_package_verify_sqlite3 "$1" "${2:-python3.0}"
|
verify_python_module "ssl" "OpenSSL lib"
|
||||||
build_package_verify_zlib "$1" "${2:-python3.0}"
|
try_python_module "sqlite3" "SQLite3 lib"
|
||||||
build_package_verify_bz2 "$1" "${2:-python3.0}"
|
verify_python_module "zlib" "zlib"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Post-install check for Python 3.1.x
|
# Post-install check for Python 3.1.x
|
||||||
@@ -1188,46 +1310,6 @@ build_package_ensurepip() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build_package_verify_import() {
|
|
||||||
local module="${1}"
|
|
||||||
local module_name="${2:-${module}}"
|
|
||||||
{ if ! "$PYTHON_BIN" -c "import ${module}"; then
|
|
||||||
echo
|
|
||||||
echo "The Python ${module} extension was not compiled. Missing the ${module_name}?"
|
|
||||||
echo
|
|
||||||
echo "Please consult to the Wiki page to fix the problem."
|
|
||||||
echo "https://github.com/yyuu/pyenv/wiki/Common-build-problems"
|
|
||||||
echo
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
} >&4 2>&1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Post-install check that the readline extension was built.
|
|
||||||
build_package_verify_readline() {
|
|
||||||
build_package_verify_import "readline" "GNU readline lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Post-install check that the ssl extension was built.
|
|
||||||
build_package_verify_ssl() {
|
|
||||||
build_package_verify_import "ssl" "OpenSSL lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Post-install check that the sqlite3 extension was built.
|
|
||||||
build_package_verify_sqlite3() {
|
|
||||||
build_package_verify_import "sqlite3" "SQLite3 lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Post-install check that the zlib extension was built.
|
|
||||||
build_package_verify_zlib() {
|
|
||||||
build_package_verify_import "zlib" "zlib"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Post-install check that the bz2 extension was built.
|
|
||||||
build_package_verify_bz2() {
|
|
||||||
build_package_verify_import "bz2" "bzip2 lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
echo "python-build ${PYTHON_BUILD_VERSION}"
|
echo "python-build ${PYTHON_BUILD_VERSION}"
|
||||||
}
|
}
|
||||||
@@ -1300,7 +1382,7 @@ done
|
|||||||
DEFINITION_PATH="${ARGUMENTS[0]}"
|
DEFINITION_PATH="${ARGUMENTS[0]}"
|
||||||
if [ -z "$DEFINITION_PATH" ]; then
|
if [ -z "$DEFINITION_PATH" ]; then
|
||||||
usage
|
usage
|
||||||
elif [ ! -e "$DEFINITION_PATH" ]; then
|
elif [ ! -f "$DEFINITION_PATH" ]; then
|
||||||
BUILTIN_DEFINITION_PATH="${PYTHON_BUILD_ROOT}/share/python-build/${DEFINITION_PATH}"
|
BUILTIN_DEFINITION_PATH="${PYTHON_BUILD_ROOT}/share/python-build/${DEFINITION_PATH}"
|
||||||
if [ -e "$BUILTIN_DEFINITION_PATH" ]; then
|
if [ -e "$BUILTIN_DEFINITION_PATH" ]; then
|
||||||
DEFINITION_PATH="$BUILTIN_DEFINITION_PATH"
|
DEFINITION_PATH="$BUILTIN_DEFINITION_PATH"
|
||||||
@@ -1369,10 +1451,12 @@ else
|
|||||||
unset PYTHON_BUILD_MIRROR_URL
|
unset PYTHON_BUILD_MIRROR_URL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add an option to build a debug version of Python (#11)
|
||||||
if [ -n "$DEBUG" ]; then
|
if [ -n "$DEBUG" ]; then
|
||||||
package_option python configure --with-pydebug
|
package_option python configure --with-pydebug
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# python-build: Set `RPATH` if `--enable-shared` was given (#65, #66, 82)
|
||||||
if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-shared"* ]]; then
|
if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-shared"* ]]; then
|
||||||
# The ld on Darwin embeds the full paths to each dylib by default
|
# The ld on Darwin embeds the full paths to each dylib by default
|
||||||
if [[ "$LDFLAGS" != *"-rpath="* ]] && [[ "Darwin" != "$(uname -s)" ]]; then
|
if [[ "$LDFLAGS" != *"-rpath="* ]] && [[ "Darwin" != "$(uname -s)" ]]; then
|
||||||
@@ -1380,6 +1464,7 @@ if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS"
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add support for framework installation (`--enable-framework`) of CPython (#55, #99)
|
||||||
if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
|
if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
|
||||||
create_framework_dirs() {
|
create_framework_dirs() {
|
||||||
local version="$(echo "$1" | sed -E 's/^[^0-9]*([0-9]+\.[0-9]+).*$/\1/')"
|
local version="$(echo "$1" | sed -E 's/^[^0-9]*([0-9]+\.[0-9]+).*$/\1/')"
|
||||||
@@ -1395,11 +1480,19 @@ if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then
|
|||||||
package_option python configure --enable-framework="${PREFIX_PATH}"
|
package_option python configure --enable-framework="${PREFIX_PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# SSL Certificate error with older wget that does not support Server Name Indication (#60)
|
||||||
if ! command -v curl 1>/dev/null 2>&1 && [[ "$(wget --version 2>/dev/null || true)" = "GNU Wget 1.1"[0-3]* ]]; then
|
if ! command -v curl 1>/dev/null 2>&1 && [[ "$(wget --version 2>/dev/null || true)" = "GNU Wget 1.1"[0-3]* ]]; then
|
||||||
echo "python-build: wget (< 1.14) doesn't support Server Name Indication. Please install curl (>= 7.18.1) and try again" >&2
|
echo "python-build: wget (< 1.14) doesn't support Server Name Indication. Please install curl (>= 7.18.1) and try again" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# pydistutils.cfg may corrupt install location of Python libraries (#35, #111)
|
||||||
|
if [ -e "$HOME/.pydistutils.cfg" ]; then
|
||||||
|
{ colorize 1 "WARNING"
|
||||||
|
echo ": Please make sure you remove any previous custom paths from your $HOME/.pydistutils.cfg file."
|
||||||
|
} >&2
|
||||||
|
fi
|
||||||
|
|
||||||
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
||||||
LOG_PATH="${TMP}/python-build.${SEED}.log"
|
LOG_PATH="${TMP}/python-build.${SEED}.log"
|
||||||
PYTHON_BIN="${PREFIX_PATH}/bin/python"
|
PYTHON_BIN="${PREFIX_PATH}/bin/python"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4" "http://python.org/ftp/python/2.4/Python-2.4.tgz#149ad508f936eccf669d52682cf8e606" ldflags_dirs standard verify_py24
|
install_package "Python-2.4" "http://python.org/ftp/python/2.4/Python-2.4.tgz#149ad508f936eccf669d52682cf8e606" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.1" "http://python.org/ftp/python/2.4.1/Python-2.4.1.tgz#7bb2416a4f421c3452d306694d3efbba" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.1" "http://python.org/ftp/python/2.4.1/Python-2.4.1.tgz#7bb2416a4f421c3452d306694d3efbba" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.2" "http://python.org/ftp/python/2.4.2/Python-2.4.2.tgz#07cfc759546f6723bb367be5b1ce9875" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.2" "http://python.org/ftp/python/2.4.2/Python-2.4.2.tgz#07cfc759546f6723bb367be5b1ce9875" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.3" "http://python.org/ftp/python/2.4.3/Python-2.4.3.tgz#edf994473a8c1a963aaa71e442b285b7" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.3" "http://python.org/ftp/python/2.4.3/Python-2.4.3.tgz#edf994473a8c1a963aaa71e442b285b7" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.4" "http://python.org/ftp/python/2.4.4/Python-2.4.4.tgz#82d000617baaef269ad5795c595fdc58" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.4" "http://python.org/ftp/python/2.4.4/Python-2.4.4.tgz#82d000617baaef269ad5795c595fdc58" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.5" "http://python.org/ftp/python/2.4.5/Python-2.4.5.tgz#750b652bfdd12675e102bbe25e5e9893" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.5" "http://python.org/ftp/python/2.4.5/Python-2.4.5.tgz#750b652bfdd12675e102bbe25e5e9893" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.4.6" "http://python.org/ftp/python/2.4.6/Python-2.4.6.tgz#7564b2b142b1b8345cd5358b7aaaa482" ldflags_dirs standard verify_py24
|
install_package "Python-2.4.6" "http://python.org/ftp/python/2.4.6/Python-2.4.6.tgz#7564b2b142b1b8345cd5358b7aaaa482" ldflags_dirs standard verify_py24
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5" "http://python.org/ftp/python/2.5/Python-2.5.tgz#bc1b74f90a472a6c0a85481aaeb43f95" ldflags_dirs standard verify_py25
|
install_package "Python-2.5" "http://python.org/ftp/python/2.5/Python-2.5.tgz#bc1b74f90a472a6c0a85481aaeb43f95" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.1" "http://python.org/ftp/python/2.5.1/Python-2.5.1.tgz#cca695828df8adc3e69b637af07522e1" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.1" "http://python.org/ftp/python/2.5.1/Python-2.5.1.tgz#cca695828df8adc3e69b637af07522e1" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.2" "http://python.org/ftp/python/2.5.2/Python-2.5.2.tgz#3f7ca8aa86c6bd275426d63b46e07992" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.2" "http://python.org/ftp/python/2.5.2/Python-2.5.2.tgz#3f7ca8aa86c6bd275426d63b46e07992" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.3" "http://python.org/ftp/python/2.5.3/Python-2.5.3.tgz#a971f8928d6beb31ae0de56f7034d6a2" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.3" "http://python.org/ftp/python/2.5.3/Python-2.5.3.tgz#a971f8928d6beb31ae0de56f7034d6a2" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.4" "http://python.org/ftp/python/2.5.4/Python-2.5.4.tgz#ad47b23778f64edadaaa8b5534986eed" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.4" "http://python.org/ftp/python/2.5.4/Python-2.5.4.tgz#ad47b23778f64edadaaa8b5534986eed" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.5" "http://python.org/ftp/python/2.5.5/Python-2.5.5.tgz#abc02139ca38f4258e8e372f7da05c88" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.5" "http://python.org/ftp/python/2.5.5/Python-2.5.5.tgz#abc02139ca38f4258e8e372f7da05c88" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.5.6" "http://python.org/ftp/python/2.5.6/Python-2.5.6.tgz#d1d9c83928561addf11d00b22a18ca50" ldflags_dirs standard verify_py25
|
install_package "Python-2.5.6" "http://python.org/ftp/python/2.5.6/Python-2.5.6.tgz#d1d9c83928561addf11d00b22a18ca50" ldflags_dirs standard verify_py25
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_hg "Python-2.6-dev" "https://bitbucket.org/mirror/cpython" "2.6" standard verify_py26
|
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.6" "http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz#b2f209df270a33315e62c1ffac1937f0" ldflags_dirs standard verify_py26
|
install_package "Python-2.6.6" "http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz#b2f209df270a33315e62c1ffac1937f0" ldflags_dirs standard verify_py26
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.7" "http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz#af474f85a3af69ea50438a2a48039d7d" ldflags_dirs standard verify_py26
|
install_package "Python-2.6.7" "http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz#af474f85a3af69ea50438a2a48039d7d" ldflags_dirs standard verify_py26
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.8" "http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz#f6c1781f5d73ab7dfa5181f43ea065f6" ldflags_dirs standard verify_py26
|
install_package "Python-2.6.8" "http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz#f6c1781f5d73ab7dfa5181f43ea065f6" ldflags_dirs standard verify_py26
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.9" "http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz#bddbd64bf6f5344fc55bbe49a72fe4f3" ldflags_dirs standard verify_py26
|
install_package "Python-2.6.9" "http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz#bddbd64bf6f5344fc55bbe49a72fe4f3" ldflags_dirs standard verify_py26
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7" "http://python.org/ftp/python/2.7/Python-2.7.tgz#35f56b092ecf39a6bd59d64f142aae0f" ldflags_dirs standard verify_py27
|
install_package "Python-2.7" "http://python.org/ftp/python/2.7/Python-2.7.tgz#35f56b092ecf39a6bd59d64f142aae0f" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-2.7-dev" "https://bitbucket.org/mirror/cpython" "2.7" standard verify_py27
|
install_hg "Python-2.7-dev" "https://bitbucket.org/mirror/cpython" "2.7" standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.1" "http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz#15ed56733655e3fab785e49a7278d2fb" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.1" "http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz#15ed56733655e3fab785e49a7278d2fb" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.2" "http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz#0ddfe265f1b3d0a8c2459f5bf66894c7" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.2" "http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz#0ddfe265f1b3d0a8c2459f5bf66894c7" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.3" "http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz#2cf641732ac23b18d139be077bd906cd" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.3" "http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz#2cf641732ac23b18d139be077bd906cd" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.4" "http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz#592603cfaf4490a980e93ecb92bde44a" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.4" "http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz#592603cfaf4490a980e93ecb92bde44a" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.5" "http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz#b4f01a1d0ba0b46b05c73b2ac909b1df" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.5" "http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz#b4f01a1d0ba0b46b05c73b2ac909b1df" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.6" "http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz#1d8728eb0dfcac72a0fd99c17ec7f386" ldflags_dirs standard verify_py27
|
install_package "Python-2.7.6" "http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz#1d8728eb0dfcac72a0fd99c17ec7f386" ldflags_dirs standard verify_py27
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.0.1" "http://python.org/ftp/python/3.0.1/Python-3.0.1.tgz#220b73f0a1a20c4b1cdf9f9db4cd52fe" ldflags_dirs standard verify_py30
|
install_package "Python-3.0.1" "http://python.org/ftp/python/3.0.1/Python-3.0.1.tgz#220b73f0a1a20c4b1cdf9f9db4cd52fe" ldflags_dirs standard verify_py30
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.1-dev" "https://bitbucket.org/mirror/cpython" "3.1" standard verify_py31
|
install_hg "Python-3.1-dev" "https://bitbucket.org/mirror/cpython" "3.1" standard verify_py31
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.3" "http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz#d797fa6abe82c21227e328f05a535424" ldflags_dirs standard verify_py31
|
install_package "Python-3.1.3" "http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz#d797fa6abe82c21227e328f05a535424" ldflags_dirs standard verify_py31
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.4" "http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz#fa9f8efdc63944c8393870282e8b5c35" ldflags_dirs standard verify_py31
|
install_package "Python-3.1.4" "http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz#fa9f8efdc63944c8393870282e8b5c35" ldflags_dirs standard verify_py31
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.5" "http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz#02196d3fc7bc76bdda68aa36b0dd16ab" ldflags_dirs standard verify_py31
|
install_package "Python-3.1.5" "http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz#02196d3fc7bc76bdda68aa36b0dd16ab" ldflags_dirs standard verify_py31
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2" "http://python.org/ftp/python/3.2/Python-3.2.tgz#5efe838a7878b170f6728d7e5d7517af" ldflags_dirs standard verify_py32
|
install_package "Python-3.2" "http://python.org/ftp/python/3.2/Python-3.2.tgz#5efe838a7878b170f6728d7e5d7517af" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.2-dev" "https://bitbucket.org/mirror/cpython" "3.2" standard verify_py32
|
install_hg "Python-3.2-dev" "https://bitbucket.org/mirror/cpython" "3.2" standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.1" "http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz#6c2aa3481cadb7bdf74e625fffc352b2" ldflags_dirs standard verify_py32
|
install_package "Python-3.2.1" "http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz#6c2aa3481cadb7bdf74e625fffc352b2" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.2" "http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz#3c63a6d97333f4da35976b6a0755eb67" ldflags_dirs standard verify_py32
|
install_package "Python-3.2.2" "http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz#3c63a6d97333f4da35976b6a0755eb67" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.3" "http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz#dcf3a738e7028f1deb41b180bf0e2cbc" ldflags_dirs standard verify_py32
|
install_package "Python-3.2.3" "http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz#dcf3a738e7028f1deb41b180bf0e2cbc" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.4" "http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz#3af05758d0bc2b1a27249e8d622c3e91" ldflags_dirs standard verify_py32
|
install_package "Python-3.2.4" "http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz#3af05758d0bc2b1a27249e8d622c3e91" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.5" "http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz#ed8d5529d2aebc36b53f4e0a0c9e6728" ldflags_dirs standard verify_py32
|
install_package "Python-3.2.5" "http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz#ed8d5529d2aebc36b53f4e0a0c9e6728" ldflags_dirs standard verify_py32
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.3-dev" "https://bitbucket.org/mirror/cpython" "3.3" standard verify_py33
|
install_hg "Python-3.3-dev" "https://bitbucket.org/mirror/cpython" "3.3" standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.0" "http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz#198a64f7a04d1d5e95ce2782d5fd8254" ldflags_dirs standard verify_py33
|
install_package "Python-3.3.0" "http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz#198a64f7a04d1d5e95ce2782d5fd8254" ldflags_dirs standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.1" "http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz#c19bfd6ea252b61779a4f2996fb3b330" ldflags_dirs standard verify_py33
|
install_package "Python-3.3.1" "http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz#c19bfd6ea252b61779a4f2996fb3b330" ldflags_dirs standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.2" "http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz#0a2ea57f6184baf45b150aee53c0c8da" ldflags_dirs standard verify_py33
|
install_package "Python-3.3.2" "http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz#0a2ea57f6184baf45b150aee53c0c8da" ldflags_dirs standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.3" "http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz#831d59212568dc12c95df222865d3441" ldflags_dirs standard verify_py33
|
install_package "Python-3.3.3" "http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz#831d59212568dc12c95df222865d3441" ldflags_dirs standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.4" "http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz#9f7df0dde690132c63b1dd2b640ed3a6" ldflags_dirs standard verify_py33
|
install_package "Python-3.3.4" "http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz#9f7df0dde690132c63b1dd2b640ed3a6" ldflags_dirs standard verify_py33
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
|
|||||||
5
plugins/python-build/share/python-build/3.3.5
Normal file
5
plugins/python-build/share/python-build/3.3.5
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
require_cc
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.3.5" "http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz#803a75927f8f241ca78633890c798021" ldflags_dirs standard verify_py33
|
||||||
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
|
install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
require_cc "gcc" "clang"
|
require_cc
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.4-dev" "https://bitbucket.org/mirror/cpython" "default" standard verify_py34 ensurepip
|
install_hg "Python-3.4-dev" "https://bitbucket.org/mirror/cpython" "default" standard verify_py34 ensurepip
|
||||||
|
|||||||
3
plugins/python-build/share/python-build/3.4.0
Normal file
3
plugins/python-build/share/python-build/3.4.0
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
require_cc
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#33c8fb279e981274f485fd91da77e94a" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.4.0" "https://www.python.org/ftp/python/3.4.0/Python-3.4.0.tgz#3ca973eb72bb06ed5cadde0e28eaaaca" ldflags_dirs standard verify_py34 ensurepip
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0a2" "http://python.org/ftp/python/3.4.0/Python-3.4.0a2.tgz#e6e81242a32e6f63d224254d24edbd2f" ldflags_dirs standard verify_py34
|
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0a3" "http://python.org/ftp/python/3.4.0/Python-3.4.0a3.tgz#3598af9717cddd4c346d731913fdfd64" ldflags_dirs standard verify_py34
|
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0a4" "http://python.org/ftp/python/3.4.0/Python-3.4.0a4.tgz#f874d97c90130b0249848be889b5e6e1" ldflags_dirs standard verify_py34
|
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
|
||||||
install_package "pip-1.5.2" "https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#5da30919f732d68b1c666e484e7676f5" python
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0b1" "http://python.org/ftp/python/3.4.0/Python-3.4.0b1.tgz#83143a755b8a29a59026c1fdfb8d18fc" ldflags_dirs standard verify_py34 ensurepip
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0b2" "http://python.org/ftp/python/3.4.0/Python-3.4.0b2.tgz#afe112d6fe595f501f1dcb3627e7b476" ldflags_dirs standard verify_py34 ensurepip
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
require_cc "gcc" "clang"
|
|
||||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
|
||||||
install_package "Python-3.4.0b3" "http://python.org/ftp/python/3.4.0/Python-3.4.0b3.tgz#1ea3d96a270db1c7113c560e419edc55" ldflags_dirs standard verify_py34 ensurepip
|
|
||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.4.0-MacOSX-x86_64"
|
install_script "Anaconda-1.4.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86.sh#d5826bb10bb25d2f03639f841ef2f65f" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-MacOSX-x86_64.sh#db8779f0a663e025da1b19755f372a57"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.4.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86_64.sh#9be0e7340f0cd2d2cbd5acbe8e988f45" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.4.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86.sh#d5826bb10bb25d2f03639f841ef2f65f"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.4.0-Linux-x86_64"
|
install_script "Anaconda-1.4.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.4.0-MacOSX-x86_64.sh#db8779f0a663e025da1b19755f372a57" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86_64.sh#9be0e7340f0cd2d2cbd5acbe8e988f45"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.4.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.5.0-MacOSX-x86_64"
|
install_script "Anaconda-1.5.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86.sh#2a75cab6536838635fd38ee7fd3e2411" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-MacOSX-x86_64.sh#6fe90601dbcecb29a2afcaf44aeb37f6"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.5.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86_64.sh#8319288082262fefbe322451aeae06ce" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.5.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86.sh#2a75cab6536838635fd38ee7fd3e2411"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.5.0-Linux-x86_64"
|
install_script "Anaconda-1.5.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.0-MacOSX-x86_64.sh#6fe90601dbcecb29a2afcaf44aeb37f6" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86_64.sh#8319288082262fefbe322451aeae06ce"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.5.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.5.1-MacOSX-x86_64"
|
install_script "Anaconda-1.5.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.1-MacOSX-x86_64.sh#03942512daf1b39eb3ff9016fc7efa0c" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.1-MacOSX-x86_64.sh#03942512daf1b39eb3ff9016fc7efa0c"
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.5.1 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.6.0-MacOSX-x86_64"
|
install_script "Anaconda-1.6.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86.sh#7a7f1f53684d38a7aa36935e34af30a3" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-MacOSX-x86_64.sh#cccdd0353bfd46d3a93143fc6e47d728"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.6.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86_64.sh#207a0b4ebde49bcde67925ac8c72fe37" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.6.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86.sh#7a7f1f53684d38a7aa36935e34af30a3"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.6.0-Linux-x86_64"
|
install_script "Anaconda-1.6.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.0-MacOSX-x86_64.sh#cccdd0353bfd46d3a93143fc6e47d728" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86_64.sh#207a0b4ebde49bcde67925ac8c72fe37"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.6.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.6.1-MacOSX-x86_64"
|
install_script "Anaconda-1.6.1-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86.sh#06412ae8de02c87b8de7d7e6d35ed092" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-MacOSX-x86_64.sh#4b60123e71864c447a0adc16398d5386"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.6.1-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86_64.sh#70a1294c01e3ab5925fc52f2603de159" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.6.1-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86.sh#06412ae8de02c87b8de7d7e6d35ed092"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.6.1-Linux-x86_64"
|
install_script "Anaconda-1.6.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.1-MacOSX-x86_64.sh#4b60123e71864c447a0adc16398d5386" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86_64.sh#70a1294c01e3ab5925fc52f2603de159"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.6.1 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.7.0-MacOSX-x86_64"
|
install_script "Anaconda-1.7.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86.sh#bbde22bd0346ad9c8932b4d98c0f4000" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-MacOSX-x86_64.sh#16194eb9be2301eeb135f9f01695a566"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.7.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86_64.sh#01dc7d6df2ed592e5401ab4fbe3aed4a" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.7.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86.sh#bbde22bd0346ad9c8932b4d98c0f4000"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.7.0-Linux-x86_64"
|
install_script "Anaconda-1.7.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.7.0-MacOSX-x86_64.sh#16194eb9be2301eeb135f9f01695a566" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86_64.sh#01dc7d6df2ed592e5401ab4fbe3aed4a"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.7.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Anaconda-1.8.0-MacOSX-x86_64"
|
install_script "Anaconda-1.8.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86.sh#5028bf0aa7ff8a071d5532b8f8ec924c" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-MacOSX-x86_64.sh#9fd7dd485c5f04fb65699a290e69671c"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Anaconda-1.8.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh#398d4b7ddc5c0a16c556c415b2444266" "anaconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Anaconda-1.8.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86.sh#5028bf0aa7ff8a071d5532b8f8ec924c"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Anaconda-1.8.0-Linux-x86_64"
|
install_script "Anaconda-1.8.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.8.0-MacOSX-x86_64.sh#9fd7dd485c5f04fb65699a290e69671c" "anaconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh#398d4b7ddc5c0a16c556c415b2444266"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of anaconda-1.8.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
19
plugins/python-build/share/python-build/anaconda-1.9.0
Normal file
19
plugins/python-build/share/python-build/anaconda-1.9.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-1.9.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.9.0-Linux-x86.sh#11af2251aece5fc4333822dc25f78938" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.0-Linux-x86_64.sh#52ed5f32f7e36b75b5f951ab58a4bc08" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.0-MacOSX-x86_64.sh#ddd474c01696cc02dcaea91da1d72389" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda-1.9.1
Normal file
19
plugins/python-build/share/python-build/anaconda-1.9.1
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-1.9.1-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.9.1-Linux-x86.sh#f1505963a1c7d2bfe7a73c079b22762d" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.1-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.1-Linux-x86_64.sh#9d973e9ac715ce3241c3785704565971" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.1-MacOSX-x86_64.sh#6ef81bc54a6ab506f352b5589ea80f81" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda-1.9.2
Normal file
19
plugins/python-build/share/python-build/anaconda-1.9.2
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-1.9.2-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.9.2-Linux-x86.sh#c8f72746dd5dc68f014d5fccd1f060e8" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.2-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.2-Linux-x86_64.sh#863ee49f52bda17810ab1b94a52f8c95" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-1.9.2-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.9.2-MacOSX-x86_64.sh#9d4bfe3f859718c4ab9c06209c5b8175" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
4
plugins/python-build/share/python-build/ironpython-2.7.4
Normal file
4
plugins/python-build/share/python-build/ironpython-2.7.4
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
install_zip "IronPython-2.7.4" "https://github.com/IronLanguages/main/releases/download/ipy-2.7.4/IronPython-2.7.4.zip#30c9186a6e2efe7c1e3046ec62900916" ironpython
|
||||||
|
# FIXME: have not confirmed to install setuptools into IronPython yet
|
||||||
|
#install_package "setuptools-3.4.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.4.1.tar.gz#252a38c6b25f1ac446ba6983095dbf3f" python
|
||||||
|
#install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
4
plugins/python-build/share/python-build/ironpython-dev
Normal file
4
plugins/python-build/share/python-build/ironpython-dev
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
install_git "ironpython-dev" "https://github.com/IronLanguages/main.git" master ironpython_builder
|
||||||
|
# FIXME: have not confirmed to install setuptools into IronPython yet
|
||||||
|
#install_package "setuptools-3.4.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.4.1.tar.gz#252a38c6b25f1ac446ba6983095dbf3f" python
|
||||||
|
#install_package "pip-1.5.5" "https://pypi.python.org/packages/source/p/pip/pip-1.5.5.tar.gz#7520581ba0687dec1ce85bd15496537b" python
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.5.0" "https://downloads.sourceforge.net/project/jython/jython/2.5.0/jython_installer-2.5.0.jar#f98b83fce9669feec69d0a17ee515a20" jython
|
install_jar "jython-2.5.0" "https://downloads.sourceforge.net/project/jython/jython/2.5.0/jython_installer-2.5.0.jar#f98b83fce9669feec69d0a17ee515a20" jython
|
||||||
# distribute (>= 0.33) does not support Jython prior to 2.5.2
|
# distribute (>= 0.33) does not support Jython prior to 2.5.2
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
# * https://bitbucket.org/tarek/distribute/issue/367/importing-setuptoolssandbox-fails-on
|
# * https://bitbucket.org/tarek/distribute/issue/367/importing-setuptoolssandbox-fails-on
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.5.1" "https://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar#2ee978eff4306b23753b3fe9d7af5b37" jython
|
install_jar "jython-2.5.1" "https://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar#2ee978eff4306b23753b3fe9d7af5b37" jython
|
||||||
# distribute (>= 0.33) does not support Jython prior to 2.5.2
|
# distribute (>= 0.33) does not support Jython prior to 2.5.2
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
# * https://bitbucket.org/tarek/distribute/issue/367/importing-setuptoolssandbox-fails-on
|
# * https://bitbucket.org/tarek/distribute/issue/367/importing-setuptoolssandbox-fails-on
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.5.2" "https://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar#7c7d9abd8985df480edeacd27ed9dcd5" jython
|
install_jar "jython-2.5.2" "https://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar#7c7d9abd8985df480edeacd27ed9dcd5" jython
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.5.3" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar#41633b4557483d6d4237ee79ffcebe7b" jython
|
install_jar "jython-2.5.3" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar#41633b4557483d6d4237ee79ffcebe7b" jython
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.5.4-rc1" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.4-rc1/jython-installer-2.5.4-rc1.jar#1be8d75d02886ce1a8542bb794a20db2" jython
|
install_jar "jython-2.5.4-rc1" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.4-rc1/jython-installer-2.5.4-rc1.jar#1be8d75d02886ce1a8542bb794a20db2" jython
|
||||||
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#13951be6711438073fbe50843e7f141f" python
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require_java
|
require_java
|
||||||
install_jar "Jython-2.7-beta1" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b1/jython-installer-2.7-b1.jar" jython
|
install_jar "jython-2.7-beta1" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b1/jython-installer-2.7-b1.jar" jython
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|
||||||
|
|||||||
6
plugins/python-build/share/python-build/jython-2.7-beta2
Normal file
6
plugins/python-build/share/python-build/jython-2.7-beta2
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
require_java
|
||||||
|
install_jar "jython-2.7-beta2" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b1/jython-installer-2.7-b1.jar" jython
|
||||||
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
|
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
require_java
|
require_java
|
||||||
install_hg "jython-dev" "http://hg.python.org/jython" "default" jython_builder
|
install_hg "jython-dev" "http://hg.python.org/jython" "default" jython_builder
|
||||||
install_package "setuptools-2.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#04a7664538957b832710653fd7d5b4e6" python
|
install_package "setuptools-3.6" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.6.tar.gz#8f3a1dcdc14313c8334eb6af4f66ea0a" python
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
# * https://github.com/yyuu/pyenv/issues/15
|
||||||
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Miniconda-2.2.2-MacOSX-x86_64"
|
install_script "Miniconda-2.2.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86.sh#26a4bdf7183aefa360f2aba8e9386a7f" "miniconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-MacOSX-x86_64.sh#cd0c8059fd7040a25d015c67f85bbc44"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Miniconda-2.2.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh#a24a8baa264dee7cfd9286ae3d4add60" "miniconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Miniconda-2.2.2-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86.sh#26a4bdf7183aefa360f2aba8e9386a7f"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Miniconda-2.2.2-Linux-x86_64"
|
install_script "Miniconda-2.2.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-MacOSX-x86_64.sh#cd0c8059fd7040a25d015c67f85bbc44" "miniconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh#a24a8baa264dee7cfd9286ae3d4add60"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ 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
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of miniconda-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Miniconda-3.0.0-MacOSX-x86_64"
|
install_script "Miniconda-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86.sh#9d1473a904a39f44d6f8e0860424d16b" "miniconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-MacOSX-x86_64.sh#4dc63992aca6ddb3d10aba902ed00a56"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Miniconda-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh#acf150992cf8d5c332064b31ff885858" "miniconda" verify_py27
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Miniconda-3.0.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86.sh#9d1473a904a39f44d6f8e0860424d16b"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Miniconda-3.0.0-Linux-x86_64"
|
install_script "Miniconda-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-MacOSX-x86_64.sh#4dc63992aca6ddb3d10aba902ed00a56" "miniconda" verify_py27
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh#acf150992cf8d5c332064b31ff885858"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ 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
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py27
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of miniconda-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
19
plugins/python-build/share/python-build/miniconda-3.0.4
Normal file
19
plugins/python-build/share/python-build/miniconda-3.0.4
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.0.4-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.0.4-Linux-x86.sh#fb9405ef9a398c617ee9a766ff338d0b" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.0.4-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.4-Linux-x86_64.sh#80d2e0597c370f752fd1559309fd1ed0" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.0.4-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.4-MacOSX-x86_64.sh#70e4a415ebb37659498a2d28b8e2467b" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.0.5
Normal file
19
plugins/python-build/share/python-build/miniconda-3.0.5
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.0.5-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.0.5-Linux-x86.sh#84b1bce275b97c028040e8e6188ac57f" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.0.5-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.5-Linux-x86_64.sh#28f942356a1de3383fc619896620a9dd" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.0.5-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.5-MacOSX-x86_64.sh#33d33d00d69c91bdaded4e68d1db7fff" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.3.0
Normal file
19
plugins/python-build/share/python-build/miniconda-3.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.3.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.3.0-Linux-x86.sh#734f0f18f5c8705e0b849c97573559e9" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.3.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.3.0-Linux-x86_64.sh#d68136816b4483391651fb4efd34725f" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.3.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.3.0-MacOSX-x86_64.sh#7624c9643f4e8bcc6bbd5924b3ad15fd" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.4.2
Normal file
19
plugins/python-build/share/python-build/miniconda-3.4.2
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.4.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86.sh#0865f66f4cf675fe431d8ec8afe195f4" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.4.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh#5a6e8379549bae8fde44cb23c0b42169" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.4.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.4.2-MacOSX-x86_64.sh#c2b6938a6110369e1499a3475272ba70" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Miniconda3-2.2.2-MacOSX-x86_64"
|
install_script "Miniconda3-2.2.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86.sh#2dac0e1abf6b0599b6c59ccf3a8cbcf2" "miniconda" verify_py33
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-MacOSX-x86_64.sh#cc227b40bee9ea5f117114726f3b8a35"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Miniconda3-2.2.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86_64.sh#486bd0f9fa6a6f51e4194ce2a91a4b8e" "miniconda" verify_py33
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Miniconda3-2.2.2-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86.sh#2dac0e1abf6b0599b6c59ccf3a8cbcf2"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Miniconda3-2.2.2-Linux-x86_64"
|
install_script "Miniconda3-2.2.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-MacOSX-x86_64.sh#cc227b40bee9ea5f117114726f3b8a35" "miniconda" verify_py33
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86_64.sh#486bd0f9fa6a6f51e4194ce2a91a4b8e"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ 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
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py33
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of miniconda3-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -1,26 +1,19 @@
|
|||||||
case "$(uname -s)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Darwin" )
|
"Linux-x86" )
|
||||||
package_name="Miniconda3-3.0.0-MacOSX-x86_64"
|
install_script "Miniconda3-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86.sh#4abe8655f5c361338fb317b018ce7c98" "miniconda" verify_py33
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-MacOSX-x86_64.sh#2b356f05895a0694fc59f7cd809038f2"
|
|
||||||
;;
|
;;
|
||||||
"Linux" )
|
"Linux-x86_64" )
|
||||||
case "$(uname -m)" in
|
install_script "Miniconda3-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh#f74f8e9223492ef292a9b2d87e265de9" "miniconda" verify_py33
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
|
||||||
package_name="Miniconda3-3.0.0-Linux-x86"
|
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86.sh#4abe8655f5c361338fb317b018ce7c98"
|
|
||||||
;;
|
;;
|
||||||
"x86_64" )
|
"MacOSX-x86_64" )
|
||||||
package_name="Miniconda3-3.0.0-Linux-x86_64"
|
install_script "Miniconda3-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-MacOSX-x86_64.sh#2b356f05895a0694fc59f7cd809038f2" "miniconda" verify_py33
|
||||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh#f74f8e9223492ef292a9b2d87e265de9"
|
|
||||||
;;
|
;;
|
||||||
esac
|
* )
|
||||||
|
{ 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
|
esac
|
||||||
|
|
||||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
|
||||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py33
|
|
||||||
else
|
|
||||||
{ echo "Precompiled binary of miniconda3-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
|
||||||
} 1>&4 2>&1
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
19
plugins/python-build/share/python-build/miniconda3-3.0.4
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.0.4
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.0.4-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.0.4-Linux-x86.sh#44a8119a2b6890055d9d746f12693ba5" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.0.4-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.4-Linux-x86_64.sh#eb2f2994f5fef8c2c0d6a05aa4d2852b" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.0.4-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.4-MacOSX-x86_64.sh#d69a8e4a140439d3c1220dce40a51d7b" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.0.5
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.0.5
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.0.5-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.0.5-Linux-x86.sh#3235ea10e993e1462538c7cf8a8bcfe9" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.0.5-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.5-Linux-x86_64.sh#9e0c7d7bb79536a68d8e4cac6dff2e1d" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.0.5-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.5-MacOSX-x86_64.sh#b25f069c240aa83731024932c7f3da6d" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.3.0
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.3.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.3.0-Linux-x86.sh#8b9b12ca8e497bd02be9ddd6e0647935" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.3.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.3.0-Linux-x86_64.sh#fba5c08c20697c9cae9ffeee192d18a2" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.3.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.3.0-MacOSX-x86_64.sh#8868b209e1eb5a5b465497214c0e738c" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.4.2
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.4.2
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.4.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86.sh#09921892e4848ba70e00ec67c158fb7b" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.4.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh#abde84f95daf3322b3d6b57213485c16" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.4.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.4.2-MacOSX-x86_64.sh#6086784df9f872865791e8364f67d452" "miniconda" verify_py33
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ 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
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
|
|
||||||
# HG changeset patch
|
|
||||||
# User Barry Warsaw <barry@python.org>
|
|
||||||
# Date 1302190091 14400
|
|
||||||
# Node ID bd0f73a9538e05f526feaf05821e68bdcff498fa
|
|
||||||
# Parent 2e4cdaffe493e879fb5367a4aa454491de451137
|
|
||||||
Backport for Python 2.7 of issue 11715 support for building Python on
|
|
||||||
multiarch Debian/Ubuntu.
|
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
|
||||||
--- setup.py.orig
|
|
||||||
+++ setup.py
|
|
||||||
@@ -345,10 +345,33 @@ class PyBuildExt(build_ext):
|
|
||||||
return platform
|
|
||||||
return sys.platform
|
|
||||||
|
|
||||||
+ def add_multiarch_paths(self):
|
|
||||||
+ # Debian/Ubuntu multiarch support.
|
|
||||||
+ # https://wiki.ubuntu.com/MultiarchSpec
|
|
||||||
+ if not find_executable('dpkg-architecture'):
|
|
||||||
+ return
|
|
||||||
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
|
|
||||||
+ if not os.path.exists(self.build_temp):
|
|
||||||
+ os.makedirs(self.build_temp)
|
|
||||||
+ ret = os.system(
|
|
||||||
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
|
|
||||||
+ tmpfile)
|
|
||||||
+ try:
|
|
||||||
+ if ret >> 8 == 0:
|
|
||||||
+ with open(tmpfile) as fp:
|
|
||||||
+ multiarch_path_component = fp.readline().strip()
|
|
||||||
+ add_dir_to_list(self.compiler.library_dirs,
|
|
||||||
+ '/usr/lib/' + multiarch_path_component)
|
|
||||||
+ add_dir_to_list(self.compiler.include_dirs,
|
|
||||||
+ '/usr/include/' + multiarch_path_component)
|
|
||||||
+ finally:
|
|
||||||
+ os.unlink(tmpfile)
|
|
||||||
+
|
|
||||||
def detect_modules(self):
|
|
||||||
# Ensure that /usr/local is always used
|
|
||||||
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
|
|
||||||
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
|
||||||
+ self.add_multiarch_paths()
|
|
||||||
|
|
||||||
# Add paths specified in the environment variables LDFLAGS and
|
|
||||||
# CPPFLAGS for header and library files.
|
|
||||||
|
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
diff -r -u ../Python-2.7.6.orig/Modules/readline.c ./Modules/readline.c
|
||||||
|
--- ../Python-2.7.6.orig/Modules/readline.c 2013-11-10 16:36:41.000000000 +0900
|
||||||
|
+++ ./Modules/readline.c 2014-03-29 16:17:48.643305752 +0900
|
||||||
|
@@ -206,8 +206,7 @@
|
||||||
|
if (!PyArg_ParseTuple(args, buf, &function))
|
||||||
|
return NULL;
|
||||||
|
if (function == Py_None) {
|
||||||
|
- Py_XDECREF(*hook_var);
|
||||||
|
- *hook_var = NULL;
|
||||||
|
+ Py_CLEAR(*hook_var);
|
||||||
|
}
|
||||||
|
else if (PyCallable_Check(function)) {
|
||||||
|
PyObject *tmp = *hook_var;
|
||||||
|
@@ -750,14 +749,22 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_startup_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_startup_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(startup_hook);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_pre_input_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_pre_input_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(pre_input_hook);
|
||||||
|
}
|
||||||
|
@@ -852,7 +859,7 @@
|
||||||
|
* before calling the normal completer */
|
||||||
|
|
||||||
|
static char **
|
||||||
|
-flex_complete(char *text, int start, int end)
|
||||||
|
+flex_complete(const char *text, int start, int end)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
|
||||||
|
rl_completion_append_character ='\0';
|
||||||
|
@@ -911,12 +918,12 @@
|
||||||
|
rl_bind_key_in_map ('\t', rl_complete, emacs_meta_keymap);
|
||||||
|
rl_bind_key_in_map ('\033', rl_complete, emacs_meta_keymap);
|
||||||
|
/* Set our hook functions */
|
||||||
|
- rl_startup_hook = (Function *)on_startup_hook;
|
||||||
|
+ rl_startup_hook = on_startup_hook;
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
- rl_pre_input_hook = (Function *)on_pre_input_hook;
|
||||||
|
+ rl_pre_input_hook = on_pre_input_hook;
|
||||||
|
#endif
|
||||||
|
/* Set our completion function */
|
||||||
|
- rl_attempted_completion_function = (CPPFunction *)flex_complete;
|
||||||
|
+ rl_attempted_completion_function = flex_complete;
|
||||||
|
/* Set Python word break characters */
|
||||||
|
completer_word_break_characters =
|
||||||
|
rl_completer_word_break_characters =
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -r -u ../Python-2.6.9.orig/setup.py ./setup.py
|
||||||
|
--- ../Python-2.6.9.orig/setup.py 2013-10-30 00:04:39.000000000 +0900
|
||||||
|
+++ ./setup.py 2014-04-03 22:28:49.122061684 +0900
|
||||||
|
@@ -1675,7 +1675,7 @@
|
||||||
|
# The versions with dots are used on Unix, and the versions without
|
||||||
|
# dots on Windows, for detection by cygwin.
|
||||||
|
tcllib = tklib = tcl_includes = tk_includes = None
|
||||||
|
- for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
|
||||||
|
+ for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
|
||||||
|
'82', '8.1', '81', '8.0', '80']:
|
||||||
|
tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
|
||||||
|
tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
diff -r -u ../Python-2.7.6.orig/Modules/readline.c ./Modules/readline.c
|
||||||
|
--- ../Python-2.7.6.orig/Modules/readline.c 2013-11-10 16:36:41.000000000 +0900
|
||||||
|
+++ ./Modules/readline.c 2014-03-29 16:17:48.643305752 +0900
|
||||||
|
@@ -206,8 +206,7 @@
|
||||||
|
if (!PyArg_ParseTuple(args, buf, &function))
|
||||||
|
return NULL;
|
||||||
|
if (function == Py_None) {
|
||||||
|
- Py_XDECREF(*hook_var);
|
||||||
|
- *hook_var = NULL;
|
||||||
|
+ Py_CLEAR(*hook_var);
|
||||||
|
}
|
||||||
|
else if (PyCallable_Check(function)) {
|
||||||
|
PyObject *tmp = *hook_var;
|
||||||
|
@@ -750,14 +749,22 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_startup_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_startup_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(startup_hook);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_pre_input_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_pre_input_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(pre_input_hook);
|
||||||
|
}
|
||||||
|
@@ -852,7 +859,7 @@
|
||||||
|
* before calling the normal completer */
|
||||||
|
|
||||||
|
static char **
|
||||||
|
-flex_complete(char *text, int start, int end)
|
||||||
|
+flex_complete(const char *text, int start, int end)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
|
||||||
|
rl_completion_append_character ='\0';
|
||||||
|
@@ -911,12 +918,12 @@
|
||||||
|
rl_bind_key_in_map ('\t', rl_complete, emacs_meta_keymap);
|
||||||
|
rl_bind_key_in_map ('\033', rl_complete, emacs_meta_keymap);
|
||||||
|
/* Set our hook functions */
|
||||||
|
- rl_startup_hook = (Function *)on_startup_hook;
|
||||||
|
+ rl_startup_hook = on_startup_hook;
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
- rl_pre_input_hook = (Function *)on_pre_input_hook;
|
||||||
|
+ rl_pre_input_hook = on_pre_input_hook;
|
||||||
|
#endif
|
||||||
|
/* Set our completion function */
|
||||||
|
- rl_attempted_completion_function = (CPPFunction *)flex_complete;
|
||||||
|
+ rl_attempted_completion_function = flex_complete;
|
||||||
|
/* Set Python word break characters */
|
||||||
|
completer_word_break_characters =
|
||||||
|
rl_completer_word_break_characters =
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -r -u ../Python-2.6.9.orig/setup.py ./setup.py
|
||||||
|
--- ../Python-2.6.9.orig/setup.py 2013-10-30 00:04:39.000000000 +0900
|
||||||
|
+++ ./setup.py 2014-04-03 22:28:49.122061684 +0900
|
||||||
|
@@ -1675,7 +1675,7 @@
|
||||||
|
# The versions with dots are used on Unix, and the versions without
|
||||||
|
# dots on Windows, for detection by cygwin.
|
||||||
|
tcllib = tklib = tcl_includes = tk_includes = None
|
||||||
|
- for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
|
||||||
|
+ for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
|
||||||
|
'82', '8.1', '81', '8.0', '80']:
|
||||||
|
tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
|
||||||
|
tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
diff -r -u ../Python-2.7.6.orig/Modules/readline.c ./Modules/readline.c
|
||||||
|
--- ../Python-2.7.6.orig/Modules/readline.c 2013-11-10 16:36:41.000000000 +0900
|
||||||
|
+++ ./Modules/readline.c 2014-03-29 16:17:48.643305752 +0900
|
||||||
|
@@ -206,8 +206,7 @@
|
||||||
|
if (!PyArg_ParseTuple(args, buf, &function))
|
||||||
|
return NULL;
|
||||||
|
if (function == Py_None) {
|
||||||
|
- Py_XDECREF(*hook_var);
|
||||||
|
- *hook_var = NULL;
|
||||||
|
+ Py_CLEAR(*hook_var);
|
||||||
|
}
|
||||||
|
else if (PyCallable_Check(function)) {
|
||||||
|
PyObject *tmp = *hook_var;
|
||||||
|
@@ -750,14 +749,22 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_startup_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_startup_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(startup_hook);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
static int
|
||||||
|
+#if defined(_RL_FUNCTION_TYPEDEF)
|
||||||
|
on_pre_input_hook(void)
|
||||||
|
+#else
|
||||||
|
+on_pre_input_hook()
|
||||||
|
+#endif
|
||||||
|
{
|
||||||
|
return on_hook(pre_input_hook);
|
||||||
|
}
|
||||||
|
@@ -852,7 +859,7 @@
|
||||||
|
* before calling the normal completer */
|
||||||
|
|
||||||
|
static char **
|
||||||
|
-flex_complete(char *text, int start, int end)
|
||||||
|
+flex_complete(const char *text, int start, int end)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
|
||||||
|
rl_completion_append_character ='\0';
|
||||||
|
@@ -911,12 +918,12 @@
|
||||||
|
rl_bind_key_in_map ('\t', rl_complete, emacs_meta_keymap);
|
||||||
|
rl_bind_key_in_map ('\033', rl_complete, emacs_meta_keymap);
|
||||||
|
/* Set our hook functions */
|
||||||
|
- rl_startup_hook = (Function *)on_startup_hook;
|
||||||
|
+ rl_startup_hook = on_startup_hook;
|
||||||
|
#ifdef HAVE_RL_PRE_INPUT_HOOK
|
||||||
|
- rl_pre_input_hook = (Function *)on_pre_input_hook;
|
||||||
|
+ rl_pre_input_hook = on_pre_input_hook;
|
||||||
|
#endif
|
||||||
|
/* Set our completion function */
|
||||||
|
- rl_attempted_completion_function = (CPPFunction *)flex_complete;
|
||||||
|
+ rl_attempted_completion_function = flex_complete;
|
||||||
|
/* Set Python word break characters */
|
||||||
|
completer_word_break_characters =
|
||||||
|
rl_completer_word_break_characters =
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user