Skip to content

Instantly share code, notes, and snippets.

@clchiou
Created July 13, 2015 01:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clchiou/9eac8974a3c2b870f47d to your computer and use it in GitHub Desktop.
Save clchiou/9eac8974a3c2b870f47d to your computer and use it in GitHub Desktop.
Build PyV8 for Python 2.7
#!/bin/bash
# For Python3, check:
# https://www.dinotools.de/2013/02/27/python-build-pyv8-for-python3-on-ubuntu/
sudo apt-get install subversion build-essential libboost-python-dev python2.7-dev libboost-system-dev libboost-thread-dev
svn checkout http://v8.googlecode.com/svn/trunk/ v8
svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8
(cd v8; make dependencies)
cd pyv8
V8_HOME=../v8 python setup.py build
python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment