Created
October 13, 2010 18:13
-
-
Save chapados/624559 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
# | |
# This script will install the python bindings for protobuf | |
# | |
# settings | |
PROTOBUF_VERSION="2.3.0" | |
PROTOBUF_DIR="protobuf-${PROTOBUF_VERSION}" | |
# create /usr/local/src dir | |
mkdir -p /usr/local/src && cd /usr/local/src | |
# download | |
curl -O "http://protobuf.googlecode.com/files/${PROTOBUF_DIR}.tar.bz2" | |
# extract | |
tar xjf ${PROTOBUF_DIR}.tar.bz2 | |
# install python bindings | |
cd ${PROTOBUF_DIR}/python | |
python setup.py test | |
python setup.py install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment