Skip to content

Instantly share code, notes, and snippets.

@tos-kamiya
Last active March 6, 2016 18:33
Show Gist options
  • Save tos-kamiya/c046feefb240a93e50e0 to your computer and use it in GitHub Desktop.
Save tos-kamiya/c046feefb240a93e50e0 to your computer and use it in GitHub Desktop.
LevelDB install on pypy
# tested on Ubuntu 14.04 Desktop Amd64
# **WARNING** By running this script, a `pip` command may be replaced with pypy's one.
# In such case, to invoke the original CPython's pip, you have to run it explicitly,
# e.g., `python -m pip`.
# installation of pypy-dev
sudo apt-get install pypy-dev
# installation of distribute_setup/pip
curl -O http://python-distribute.org/distribute_setup.py
sudo pypy distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo pypy get-pip.py
# installation of leveldb with pip
sudo pypy -m pip install leveldb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment