Created
July 13, 2015 01:16
-
-
Save clchiou/9eac8974a3c2b870f47d to your computer and use it in GitHub Desktop.
Build PyV8 for Python 2.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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