2015.08.15 13:19

$ brew info pypy
pypy: stable 2.6.0 (bottled)
Implementation of Python 2 in Python
http://pypy.org/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/pypy.rb
==> Dependencies
Build: pkg-config ✔
Required: openssl ✔
Recommended: gdbm ✘, sqlite ✘
==> Options
--without-bootstrap
	Translate Pypy with system Python instead of downloading a Pypy binary distribution to perform the translation (adds 30-60 minutes to build)
--without-gdbm
	Build without gdbm support
--without-sqlite
	Build without sqlite support
==> Caveats
A "distutils.cfg" has been written to:
  /usr/local/Cellar/pypy/2.6.0_1/libexec/lib-python/2.7/distutils
specifying the install-scripts folder as:
  /usr/local/share/pypy

If you install Python packages via "pypy setup.py install", easy_install_pypy,
or pip_pypy, any provided scripts will go into the install-scripts folder
above, so you may want to add it to your PATH *after* /usr/local/bin
so you don't overwrite tools from CPython.

Setuptools and pip have been installed, so you can use easy_install_pypy and
pip_pypy.
To update setuptools and pip between pypy releases, run:
    pip_pypy install --upgrade pip setuptools

See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md


$ brew install pypy
==> Installing dependencies for pypy: gdbm, sqlite
==> Installing pypy dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.11.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gdbm-1.11.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/gdbm/1.11: 17 files, 532K
==> Installing pypy dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.8.11.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.8.11.1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

OS X provides an older sqlite3.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/sqlite/lib
    CPPFLAGS: -I/usr/local/opt/sqlite/include

==> Summary
🍺  /usr/local/Cellar/sqlite/3.8.11.1: 9 files, 2.8M
==> Installing pypy
==> Downloading https://homebrew.bintray.com/bottles/pypy-2.6.0_1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pypy-2.6.0_1.yosemite.bottle.tar.gz
==> /usr/local/Cellar/pypy/2.6.0_1/bin/pypy -s setup.py --no-user-cfg install --force --verbose
==> /usr/local/Cellar/pypy/2.6.0_1/bin/pypy -s setup.py --no-user-cfg install --force --verbose
==> Caveats
A "distutils.cfg" has been written to:
  /usr/local/Cellar/pypy/2.6.0_1/libexec/lib-python/2.7/distutils
specifying the install-scripts folder as:
  /usr/local/share/pypy

If you install Python packages via "pypy setup.py install", easy_install_pypy,
or pip_pypy, any provided scripts will go into the install-scripts folder
above, so you may want to add it to your PATH *after* /usr/local/bin
so you don't overwrite tools from CPython.

Setuptools and pip have been installed, so you can use easy_install_pypy and
pip_pypy.
To update setuptools and pip between pypy releases, run:
    pip_pypy install --upgrade pip setuptools

See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
==> Summary
🍺  /usr/local/Cellar/pypy/2.6.0_1: 3557 files, 118M

01:36:50 /Users/sjlee
$ pip_pypy install --upgrade pip setuptools
You are using pip version 7.0.1, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pip
  Downloading pip-7.1.0-py2.py3-none-any.whl (1.1MB)
    100% |████████████████████████████████| 1.1MB 214kB/s
Collecting setuptools
  Downloading setuptools-18.1-py2.py3-none-any.whl (461kB)
    100% |████████████████████████████████| 462kB 1.1MB/s
Installing collected packages: pip, setuptools
  Found existing installation: pip 7.0.1
    Uninstalling pip-7.0.1:
      Successfully uninstalled pip-7.0.1
  Found existing installation: setuptools 17.0
    Uninstalling setuptools-17.0:
      Successfully uninstalled setuptools-17.0
Successfully installed pip setuptools

Posted by 나야

댓글을 달아 주세요